summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_cluster.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/vfs_cluster.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/vfs_cluster.c')
-rw-r--r--sys/kern/vfs_cluster.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 05e6d6e210b..bb6de8a9b56 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_cluster.c,v 1.15 1998/10/13 00:28:32 csapuntz Exp $ */
+/* $OpenBSD: vfs_cluster.c,v 1.16 1999/01/11 05:12:24 millert Exp $ */
/* $NetBSD: vfs_cluster.c,v 1.12 1996/04/22 01:39:05 christos Exp $ */
/*-
@@ -292,7 +292,7 @@ cluster_rbuild(vp, filesize, bp, lbn, blkno, size, run, flags)
#ifdef DIAGNOSTIC
if (size != vp->v_mount->mnt_stat.f_iosize)
- panic("cluster_rbuild: size %ld != filesize %ld\n",
+ panic("cluster_rbuild: size %ld != filesize %ld",
size, vp->v_mount->mnt_stat.f_iosize);
#endif
if ((u_quad_t)size * (u_quad_t)(lbn + run + 1) > filesize)
@@ -612,7 +612,7 @@ cluster_wbuild(vp, last_bp, size, start_lbn, len, lbn)
#ifdef DIAGNOSTIC
if (size != vp->v_mount->mnt_stat.f_iosize)
- panic("cluster_wbuild: size %ld != filesize %ld\n",
+ panic("cluster_wbuild: size %ld != filesize %ld",
size, vp->v_mount->mnt_stat.f_iosize);
#endif
redo: