aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2012-11-19 09:44:21 +0100
committerSiri Hansen <[email protected]>2012-11-19 09:44:21 +0100
commit05bb9fa2116d568b4f47b171abfbfdc73ec518e1 (patch)
tree2b71cc7407235a8e5decef5bd7f67477f35cf45a
parent071c225867e5ba13016d8d2401750e8f8a269c3d (diff)
parent63ae8b96ceade3d047fec0676ac63ab7e7e71c53 (diff)
downloadotp-05bb9fa2116d568b4f47b171abfbfdc73ec518e1.tar.gz
otp-05bb9fa2116d568b4f47b171abfbfdc73ec518e1.tar.bz2
otp-05bb9fa2116d568b4f47b171abfbfdc73ec518e1.zip
Merge branch 'siri/runtime_tools/dyntrace-dialyzer-warnings/OTP-10402'
* siri/runtime_tools/dyntrace-dialyzer-warnings/OTP-10402: Fix dialyzer warning in dyntrace.erl
-rw-r--r--lib/runtime_tools/src/dyntrace.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/runtime_tools/src/dyntrace.erl b/lib/runtime_tools/src/dyntrace.erl
index b4579fd5ce..f7dbef6929 100644
--- a/lib/runtime_tools/src/dyntrace.erl
+++ b/lib/runtime_tools/src/dyntrace.erl
@@ -105,7 +105,7 @@ available() ->
user_trace_s1(_Message) ->
erlang:nif_error(nif_not_loaded).
--spec user_trace_i4s4(iolist(),
+-spec user_trace_i4s4(binary() | undefined,
integer_maybe(), integer_maybe(),
integer_maybe(), integer_maybe(),
iolist_maybe(), iolist_maybe(),
@@ -115,7 +115,7 @@ user_trace_s1(_Message) ->
user_trace_i4s4(_, _, _, _, _, _, _, _, _) ->
erlang:nif_error(nif_not_loaded).
--spec user_trace_n(n_probe_label(), iolist(),
+-spec user_trace_n(n_probe_label(), binary() | undefined,
integer_maybe(), integer_maybe(),
integer_maybe(), integer_maybe(),
iolist_maybe(), iolist_maybe(),