summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-10-27 10:36:08 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-27 10:36:08 -0400
commit19c71e7454305e4e10c7d0c6ed1520fe5e1521df (patch)
tree87e696f0ef600fd3037bcfaa14e36349e5b247f5 /event.c
parente8a903cee8b3bfc56423a58ba313ee1a030ae6f1 (diff)
downloadlibevent-19c71e7454305e4e10c7d0c6ed1520fe5e1521df.tar.gz
Fix som event_warns that should have been event_warnx
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.c b/event.c
index 0a8d574d..7e71ec2b 100644
--- a/event.c
+++ b/event.c
@@ -1151,7 +1151,7 @@ event_base_init_common_timeout(struct event_base *base,
}
}
if (base->n_common_timeouts == MAX_COMMON_TIMEOUTS) {
- event_warn("%s: Too many common timeouts already in use; "
+ event_warnx("%s: Too many common timeouts already in use; "
"we only support %d per event_base", __func__,
MAX_COMMON_TIMEOUTS);
goto done;
@@ -1477,7 +1477,7 @@ event_base_loop(struct event_base *base, int flags)
EVBASE_ACQUIRE_LOCK(base, th_base_lock);
if (base->running_loop) {
- event_warn("%s: reentrant invocation. Only one event_base_loop"
+ event_warnx("%s: reentrant invocation. Only one event_base_loop"
" can run on each event_base at once.", __func__);
EVBASE_RELEASE_LOCK(base, th_base_lock);
return -1;