diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-12-12 20:56:02 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-12-12 20:56:02 +0000 |
commit | afa668ba8c18366888ec9c2fb04caaa2e34a3f34 (patch) | |
tree | e55f50ac9302d78937c753b806fcb6dc6ffb0daa /sys/kern/subr_autoconf.c | |
parent | fca96be58584938086340ce410178322f038e47f (diff) |
printf(variable) --> printf("%s", variable)
ok deraadt@
Diffstat (limited to 'sys/kern/subr_autoconf.c')
-rw-r--r-- | sys/kern/subr_autoconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index 7696b15693b..63909888184 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_autoconf.c,v 1.72 2013/12/06 21:03:02 deraadt Exp $ */ +/* $OpenBSD: subr_autoconf.c,v 1.73 2013/12/12 20:56:01 guenther Exp $ */ /* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */ /* @@ -307,7 +307,7 @@ config_found_sm(struct device *parent, void *aux, cfprint_t print, 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); } |