diff options
author | kan <kan@FreeBSD.org> | 2004-01-04 03:42:20 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-01-04 03:42:20 +0000 |
commit | 28729219677869590f99511a1349b0460ae536c8 (patch) | |
tree | ca79023581b1f0af256268832152e9d23de80dd3 /sys | |
parent | 010f82e1329f25cf3d69dfc3d90f110ad9669aa0 (diff) | |
download | FreeBSD-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.c | 4 |
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."); } } |