summaryrefslogtreecommitdiff
path: root/sys/ufs/lfs/lfs_alloc.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 05:12:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 05:12:41 +0000
commitb3067fd524234e263e58b215d0fb24d414bf1c34 (patch)
tree5c1576265dded5700ab387af81051fabd39f3396 /sys/ufs/lfs/lfs_alloc.c
parent9ee95b4b405b050512cf782b508d774f4601a6b5 (diff)
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/ufs/lfs/lfs_alloc.c')
-rw-r--r--sys/ufs/lfs/lfs_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/lfs/lfs_alloc.c b/sys/ufs/lfs/lfs_alloc.c
index 0551eaaf982..132de7e5c79 100644
--- a/sys/ufs/lfs/lfs_alloc.c
+++ b/sys/ufs/lfs/lfs_alloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lfs_alloc.c,v 1.6 1997/05/30 08:34:33 downsj Exp $ */
+/* $OpenBSD: lfs_alloc.c,v 1.7 1999/01/11 05:12:38 millert Exp $ */
/* $NetBSD: lfs_alloc.c,v 1.4 1996/03/25 12:53:37 pk Exp $ */
/*
@@ -247,7 +247,7 @@ lfs_vfree(v)
LFS_SEGENTRY(sup, fs, datosn(fs, old_iaddr), bp);
#ifdef DIAGNOSTIC
if (sup->su_nbytes < sizeof(struct dinode))
- panic("lfs_vfree: negative byte count (segment %d)\n",
+ panic("lfs_vfree: negative byte count (segment %d)",
datosn(fs, old_iaddr));
#endif
sup->su_nbytes -= sizeof(struct dinode);