summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2007-04-10 17:25:08 +0000
committertedu <tedu@openbsd.org>2007-04-10 17:25:08 +0000
commite8afbffc4e5ab3ab3056f16ae7450bef7f7179ff (patch)
tree0ca13fa37b9c6674580648479cc602acb02d6b6f
parentAdd support for ffs2 filesystems. From pedro@ based on the ufs2 (diff)
downloadwireguard-openbsd-e8afbffc4e5ab3ab3056f16ae7450bef7f7179ff.tar.xz
wireguard-openbsd-e8afbffc4e5ab3ab3056f16ae7450bef7f7179ff.zip
new lines in error messages
-rw-r--r--lib/librthread/rthread_reaper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/librthread/rthread_reaper.c b/lib/librthread/rthread_reaper.c
index 8c9bf64c4aa..601c0c3da82 100644
--- a/lib/librthread/rthread_reaper.c
+++ b/lib/librthread/rthread_reaper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread_reaper.c,v 1.1 2006/01/04 19:48:52 otto Exp $ */
+/* $OpenBSD: rthread_reaper.c,v 1.2 2007/04/10 17:25:08 tedu Exp $ */
/*
* Copyright (c) 2006 Otto Moerbeek <otto@drijf.net>
*
@@ -35,7 +35,7 @@ _rthread_add_to_reaper(pid_t t, struct stack *s)
EV_SET(&kc, t, EVFILT_PROC, EV_ADD|EV_CLEAR, NOTE_EXIT, 0, s);
n = kevent(_rthread_kq, &kc, 1, NULL, 0, NULL);
if (n)
- _rthread_debug(0, "_rthread_add_to_reaper(): kevent %d", n);
+ _rthread_debug(0, "_rthread_add_to_reaper(): kevent %d\n", n);
}
/* ARGSUSED */
@@ -52,7 +52,7 @@ _rthread_reaper(void)
for (;;) {
n = kevent(_rthread_kq, NULL, 0, &ke, 1, &t);
if (n < 0)
- _rthread_debug(0, "_rthread_reaper(): kevent %d", n);
+ _rthread_debug(0, "_rthread_reaper(): kevent %d\n", n);
else if (n == 0)
break;
else {