summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2004-01-04 03:42:20 +0000
committerkan <kan@FreeBSD.org>2004-01-04 03:42:20 +0000
commit28729219677869590f99511a1349b0460ae536c8 (patch)
treeca79023581b1f0af256268832152e9d23de80dd3 /sys
parent010f82e1329f25cf3d69dfc3d90f110ad9669aa0 (diff)
downloadFreeBSD-src-28729219677869590f99511a1349b0460ae536c8.zip
FreeBSD-src-28729219677869590f99511a1349b0460ae536c8.tar.gz
Cosmetics: strip '\n' from a string passed to Debugger().
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 029871c..aa743f6 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -262,7 +262,7 @@ vfs_badlock(const char *msg, const char *str, struct vnode *vp)
if (vfs_badlock_print)
printf("%s: %p %s\n", str, vp, msg);
if (vfs_badlock_panic)
- Debugger("Lock violation.\n");
+ Debugger("Lock violation.");
}
void
@@ -361,7 +361,7 @@ vop_strategy_pre(void *ap)
if (vfs_badlock_print)
printf("VOP_STRATEGY: bp is not locked but should be.\n");
if (vfs_badlock_panic)
- Debugger("Lock violation.\n");
+ Debugger("Lock violation.");
}
}
OpenPOWER on IntegriCloud