diff options
author | Jason Peel <jsyn@cvs.openbsd.org> | 2002-06-11 06:16:37 +0000 |
---|---|---|
committer | Jason Peel <jsyn@cvs.openbsd.org> | 2002-06-11 06:16:37 +0000 |
commit | f1bb7fb5cfe9822f50143a03473f49e825e704bc (patch) | |
tree | b52183f48c7c26eefd4e775d5d3961c0966d3ccd /regress | |
parent | ea445c9a491356bc5908d76271fddc05137a4a3c (diff) |
kill err(3) newlines; ok miod@, deraadt@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sys/kern/kqueue/kqueue-process.c | 4 | ||||
-rw-r--r-- | regress/sys/kern/sysvmsg/msgtest.c | 4 | ||||
-rw-r--r-- | regress/sys/kern/sysvsem/semtest.c | 2 | ||||
-rw-r--r-- | regress/sys/kern/sysvshm/shmtest.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/regress/sys/kern/kqueue/kqueue-process.c b/regress/sys/kern/kqueue/kqueue-process.c index b9112ca1a60..e993d282ce2 100644 --- a/regress/sys/kern/kqueue/kqueue-process.c +++ b/regress/sys/kern/kqueue/kqueue-process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kqueue-process.c,v 1.1 2002/03/02 21:48:05 art Exp $ */ +/* $OpenBSD: kqueue-process.c,v 1.2 2002/06/11 06:16:36 jsyn Exp $ */ /* * Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain */ @@ -86,7 +86,7 @@ do_process(void) case NOTE_TRACKERR: errx(1, "child tracking failed due to resource shortage"); default: - errx(1, "kevent returned weird event 0x%x pid %d\n", + errx(1, "kevent returned weird event 0x%x pid %d", ke.fflags, (pid_t)ke.ident); } } diff --git a/regress/sys/kern/sysvmsg/msgtest.c b/regress/sys/kern/sysvmsg/msgtest.c index 6750a40765f..0c402af4b9c 100644 --- a/regress/sys/kern/sysvmsg/msgtest.c +++ b/regress/sys/kern/sysvmsg/msgtest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msgtest.c,v 1.2 2002/02/17 19:42:27 millert Exp $ */ +/* $OpenBSD: msgtest.c,v 1.3 2002/06/11 06:16:36 jsyn Exp $ */ /* $NetBSD: msgtest.c,v 1.6 2001/02/19 22:44:41 cgd Exp $ */ /*- @@ -248,7 +248,7 @@ sigchld_handler(signo) errx(1, "receiver exited abnormally"); if (WEXITSTATUS(cstatus) != 0) - errx(1, "receiver exited with status %d\n", + errx(1, "receiver exited with status %d", WEXITSTATUS(cstatus)); /* diff --git a/regress/sys/kern/sysvsem/semtest.c b/regress/sys/kern/sysvsem/semtest.c index 4a8db7bfa7b..a2022eb56d1 100644 --- a/regress/sys/kern/sysvsem/semtest.c +++ b/regress/sys/kern/sysvsem/semtest.c @@ -252,7 +252,7 @@ sigchld_handler(signo) errx(1, "receiver exited abnormally"); if (WEXITSTATUS(cstatus) != 0) - errx(1, "receiver exited with status %d\n", + errx(1, "receiver exited with status %d", WEXITSTATUS(cstatus)); /* diff --git a/regress/sys/kern/sysvshm/shmtest.c b/regress/sys/kern/sysvshm/shmtest.c index d513a17eac3..a1b3cf91fc9 100644 --- a/regress/sys/kern/sysvshm/shmtest.c +++ b/regress/sys/kern/sysvshm/shmtest.c @@ -222,7 +222,7 @@ sigchld_handler(signo) errx(1, "receiver exited abnormally"); if (WEXITSTATUS(cstatus) != 0) - errx(1, "receiver exited with status %d\n", + errx(1, "receiver exited with status %d", WEXITSTATUS(cstatus)); /* |