Permalink
Browse files

Fix type error in dtrace:user_trace_i4s4()

  • Loading branch information...
slfritchie committed Feb 12, 2012
1 parent 8a0f965 commit 6762a53e26db0dffbde542234fd3d18ebe337f58
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/dtrace/src/dtrace.erl
@@ -51,6 +51,8 @@
%% present" indication, we'll allow any atom in the types.
-type integer_maybe() :: integer() | atom().
-type iolist_maybe() :: iolist() | atom().
+%% DTrace user-defined tag
+-type utag() :: iolist() | binary().
-spec init() -> ok | {error, {term(), term()}}.
@@ -73,7 +75,7 @@ available() ->
user_trace_s1(_Message) ->
erlang:nif_error(nif_not_loaded).
--spec user_trace_i4s4(iolist(),
+-spec user_trace_i4s4(utag(),
integer_maybe(), integer_maybe(),
integer_maybe(), integer_maybe(),
iolist_maybe(), iolist_maybe(),

0 comments on commit 6762a53

Please sign in to comment.