mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Cosmetics: strip '\n' from a string passed to Debugger().
This commit is contained in:
parent
a67048571f
commit
3ff1b7c23f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124118
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user