[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Format string in sys/kern/subr_autoconf.c
- To: bugs_(_at_)_openbsd_(_dot_)_org
- Subject: Format string in sys/kern/subr_autoconf.c
- From: "Brian J. Kifiak" <bk_(_at_)_rt_(_dot_)_fm>
- Date: 31 Aug 2001 04:38:44 -0000
- Mail-followup-to: bugs_(_at_)_openbsd_(_dot_)_org
Index: subr_autoconf.c
===================================================================
RCS file: /cvs/src/sys/kern/subr_autoconf.c,v
retrieving revision 1.27
diff -u -r1.27 subr_autoconf.c
--- subr_autoconf.c 2000/04/09 22:46:03 1.27
+++ subr_autoconf.c 2001/08/31 04:39:40
@@ -324,7 +324,7 @@
if ((match = config_search(submatch, parent, aux)) != NULL)
return (config_attach(parent, match, aux, print));
if (print)
- printf(msgs[(*print)(aux, parent->dv_xname)]);
+ printf("%s", msgs[(*print)(aux, parent->dv_xname)]);
return (NULL);
}
Visit your host, monkey.org