diff options
author | Kostis Sagonas <[email protected]> | 2010-02-10 10:51:35 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-04-13 07:50:46 +0200 |
commit | 19babf5477eefb1e65ff6ec008965129924c028d (patch) | |
tree | 4401b298cadac62c5efcc20f9244549aa2b44b10 /lib/stdlib/src/gen_event.erl | |
parent | 95c2c8f9a8fba92b71fc3dd9275e6c3ef1726d6a (diff) | |
download | otp-19babf5477eefb1e65ff6ec008965129924c028d.tar.gz otp-19babf5477eefb1e65ff6ec008965129924c028d.tar.bz2 otp-19babf5477eefb1e65ff6ec008965129924c028d.zip |
stdlib: Use fun object instead of {M,F} tuple
Diffstat (limited to 'lib/stdlib/src/gen_event.erl')
-rw-r--r-- | lib/stdlib/src/gen_event.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_event.erl b/lib/stdlib/src/gen_event.erl index 1b30aaf5eb..eb86a6e0fe 100644 --- a/lib/stdlib/src/gen_event.erl +++ b/lib/stdlib/src/gen_event.erl @@ -42,7 +42,6 @@ system_continue/3, system_terminate/4, system_code_change/4, - print_event/3, format_status/2]). -import(error_logger, [error_msg/2]). @@ -239,7 +238,7 @@ fetch_msg(Parent, ServerName, MSL, Debug, Hib) -> Msg when Debug =:= [] -> handle_msg(Msg, Parent, ServerName, MSL, []); Msg -> - Debug1 = sys:handle_debug(Debug, {?MODULE, print_event}, + Debug1 = sys:handle_debug(Debug, fun print_event/3, ServerName, {in, Msg}), handle_msg(Msg, Parent, ServerName, MSL, Debug1) end. |