Permalink
Browse files

messed up the args to io:fwrite...

  • Loading branch information...
1 parent e58009f commit 78ff42a69dfd4f6e17f447ebaa32b7fb952cc9fe vagrant committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/redbug.erl
View
@@ -300,7 +300,7 @@ mk_out(#cnf{print_re=RE,print_file=File,print_depth=D,print_msec=MS}) ->
Str=flat(F,[fix_ts(MS,hd(A))|tl(A)]++[D]),
case RE =:= "" andalso re:run(Str,RE) =:= nomatch of
true -> ok;
- false -> io:fwrite(get_fd(File),"~s~n",Str)
+ false -> io:fwrite(get_fd(File),"~s~n",[Str])
end
end.

0 comments on commit 78ff42a

Please sign in to comment.