diff options
author | 2002-10-12 01:09:43 +0000 | |
---|---|---|
committer | 2002-10-12 01:09:43 +0000 | |
commit | bc84bce2cf8db44d7e63fafe55206f5102427a45 (patch) | |
tree | 7bca4f728671423caa88412df14b6a41521a3c68 /sys/kern/subr_pool.c | |
parent | Add a bit on volatile vs volatile pointers. OK jason@ millert@ (diff) | |
download | wireguard-openbsd-bc84bce2cf8db44d7e63fafe55206f5102427a45.tar.xz wireguard-openbsd-bc84bce2cf8db44d7e63fafe55206f5102427a45.zip |
Remove more '\n's from panic() statements. Both trailing and leading.
Diff generated by Chris Kuethe.
Diffstat (limited to 'sys/kern/subr_pool.c')
-rw-r--r-- | sys/kern/subr_pool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index ca61d080e33..573adbb4487 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.32 2002/07/23 15:31:36 art Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.33 2002/10/12 01:09:45 krw Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -558,7 +558,7 @@ pool_destroy(struct pool *pp) #ifdef DIAGNOSTIC if (pp->pr_nout != 0) { pr_printlog(pp, NULL, printf); - panic("pool_destroy: pool busy: still out: %u\n", + panic("pool_destroy: pool busy: still out: %u", pp->pr_nout); } #endif @@ -708,7 +708,7 @@ pool_get(struct pool *pp, int flags) simple_unlock(&pp->pr_slock); printf("pool_get: %s: curpage NULL, nitems %u\n", pp->pr_wchan, pp->pr_nitems); - panic("pool_get: nitems inconsistent\n"); + panic("pool_get: nitems inconsistent"); } #endif @@ -778,7 +778,7 @@ pool_get(struct pool *pp, int flags) simple_unlock(&pp->pr_slock); printf("pool_get: %s: items on itemlist, nitems %u\n", pp->pr_wchan, pp->pr_nitems); - panic("pool_get: nitems inconsistent\n"); + panic("pool_get: nitems inconsistent"); } #endif |