diff options
author | 2017-07-28 22:41:10 +0000 | |
---|---|---|
committer | 2017-07-28 22:41:10 +0000 | |
commit | d5b819ae3d94fcf73af71395538639ce509bd40e (patch) | |
tree | fe745c19a85df685ebbfd289d4789ac93fc4c067 | |
parent | Add some sanity length checks in VFS directory scan. This protects (diff) | |
download | wireguard-openbsd-d5b819ae3d94fcf73af71395538639ce509bd40e.tar.xz wireguard-openbsd-d5b819ae3d94fcf73af71395538639ce509bd40e.zip |
plog format string should be literal.
OK florian@, deraadt@
-rw-r--r-- | usr.sbin/amd/amd/ifs_ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/amd/amd/ifs_ops.c b/usr.sbin/amd/amd/ifs_ops.c index 42dab033246..615a7ab8ae9 100644 --- a/usr.sbin/amd/amd/ifs_ops.c +++ b/usr.sbin/amd/amd/ifs_ops.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)ifs_ops.c 8.1 (Berkeley) 6/6/93 - * $Id: ifs_ops.c,v 1.5 2014/10/26 02:43:50 guenther Exp $ + * $Id: ifs_ops.c,v 1.6 2017/07/28 22:41:10 fcambus Exp $ */ #include "am.h" @@ -63,7 +63,7 @@ ifs_init(mntfs *mf) { mntfs *mf_link = (mntfs *) mf->mf_private; if (mf_link == 0) { - plog(XLOG_FATAL, not_a_filesystem); + plog(XLOG_FATAL, "%s", not_a_filesystem); return EINVAL; } #ifdef notdef @@ -89,7 +89,7 @@ ifs_inherit(mntfs *mf) */ mntfs *mf_link = (mntfs *) mf->mf_private; if (mf_link == 0) { - plog(XLOG_FATAL, not_a_filesystem); + plog(XLOG_FATAL, "%s", not_a_filesystem); return 0; /*XXX*/ } |