aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2012-11-15 11:12:13 +0100
committerSiri Hansen <[email protected]>2012-11-15 11:12:13 +0100
commit63ae8b96ceade3d047fec0676ac63ab7e7e71c53 (patch)
tree66cf1afe2c0d63a564b9c50790e289241f5b7625 /lib
parenta7af6cae44d1837d0c6cb35b99feff1260659102 (diff)
downloadotp-63ae8b96ceade3d047fec0676ac63ab7e7e71c53.tar.gz
otp-63ae8b96ceade3d047fec0676ac63ab7e7e71c53.tar.bz2
otp-63ae8b96ceade3d047fec0676ac63ab7e7e71c53.zip
Fix dialyzer warning in dyntrace.erl
Diffstat (limited to 'lib')
-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(),