KASSERT format string does not need newline termination
This commit is contained in:
parent
0c5f7aaab5
commit
3dc593c895
@ -1715,7 +1715,7 @@ vfs_getopt(opts, name, buf, len)
|
||||
struct vfsopt *opt;
|
||||
|
||||
KASSERT(opts != NULL,
|
||||
("vfs_getopt: caller passed 'opts' as NULL\n"));
|
||||
("vfs_getopt: caller passed 'opts' as NULL"));
|
||||
|
||||
TAILQ_FOREACH(opt, opts, link) {
|
||||
if (strcmp(name, opt->name) == 0) {
|
||||
@ -1747,7 +1747,7 @@ vfs_copyopt(opts, name, dest, len)
|
||||
struct vfsopt *opt;
|
||||
|
||||
KASSERT(opts != NULL,
|
||||
("vfs_copyopt: caller passed 'opts' as NULL\n"));
|
||||
("vfs_copyopt: caller passed 'opts' as NULL"));
|
||||
|
||||
TAILQ_FOREACH(opt, opts, link) {
|
||||
if (strcmp(name, opt->name) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user