]> granicus.if.org Git - libevent/commitdiff
make it compile with USE_DEBUG again; reported by Alexander Drozdov
authorNiels Provos <provos@gmail.com>
Mon, 12 Jan 2009 05:22:29 +0000 (05:22 +0000)
committerNiels Provos <provos@gmail.com>
Mon, 12 Jan 2009 05:22:29 +0000 (05:22 +0000)
svn:r990

signal.c

index 844b8b4eb60a593bf5240495450ba5a6114ff1a0..eaa2fff74eed16a1815406e00dcf588ea6b68a1b 100644 (file)
--- a/signal.c
+++ b/signal.c
@@ -211,7 +211,7 @@ evsig_add(struct event_base *base, int evsignal, short old, short events)
 
        assert(evsignal >= 0 && evsignal < NSIG);
 
-       event_debug(("%s: %p: changing signal handler", __func__, ev));
+       event_debug(("%s: %d: changing signal handler", __func__, evsignal));
        if (_evsig_set_handler(base, evsignal, evsig_handler) == -1)
                return (-1);
 
@@ -263,7 +263,7 @@ evsig_del(struct event_base *base, int evsignal, short old, short events)
 {
        assert(evsignal >= 0 && evsignal < NSIG);
 
-       event_debug(("%s: %p: restoring signal handler", __func__, ev));
+       event_debug(("%s: %d: restoring signal handler", __func__, evsignal));
 
        return (_evsig_restore_handler(base, evsignal));
 }