summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_prf.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-01-11 05:10:58 +0000
committermillert <millert@openbsd.org>1999-01-11 05:10:58 +0000
commit30ada397194e271afa7d8722cb210facc046d5e0 (patch)
treeda96bf3f3c53aa96309550a9f93772da24730c8f /sys/kern/subr_prf.c
parentAdd pnic driver (diff)
downloadwireguard-openbsd-30ada397194e271afa7d8722cb210facc046d5e0.tar.xz
wireguard-openbsd-30ada397194e271afa7d8722cb210facc046d5e0.zip
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r--sys/kern/subr_prf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index 4f1fab02321..c97f513d8ce 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_prf.c,v 1.24 1999/01/10 01:45:31 niklas Exp $ */
+/* $OpenBSD: subr_prf.c,v 1.25 1999/01/11 05:12:23 millert Exp $ */
/* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */
/*-
@@ -137,7 +137,7 @@ __assert(t, f, l, e)
int l;
{
- panic("kernel %sassertion \"%s\" failed: file \"%s\", line %d\n",
+ panic("kernel %sassertion \"%s\" failed: file \"%s\", line %d",
t, e, f, l);
}