Module Name: src
Committed By: joerg
Date: Tue May 24 16:41:23 UTC 2011
Modified Files:
src/sys/kern: subr_userconf.c
Log Message:
Use proper format string
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/kern/subr_userconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/subr_userconf.c
diff -u src/sys/kern/subr_userconf.c:1.21 src/sys/kern/subr_userconf.c:1.22
--- src/sys/kern/subr_userconf.c:1.21 Sun Apr 24 18:46:23 2011
+++ src/sys/kern/subr_userconf.c Tue May 24 16:41:23 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_userconf.c,v 1.21 2011/04/24 18:46:23 rmind Exp $ */
+/* $NetBSD: subr_userconf.c,v 1.22 2011/05/24 16:41:23 joerg Exp $ */
/*
* Copyright (c) 1996 Mats O Jansson <[email protected]>
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_userconf.c,v 1.21 2011/04/24 18:46:23 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_userconf.c,v 1.22 2011/05/24 16:41:23 joerg Exp $");
#include "opt_userconf.h"
@@ -510,7 +510,7 @@
printf("command args description\n");
while (*userconf_cmds[j] != '\0') {
- printf(userconf_cmds[j]);
+ printf("%s", userconf_cmds[j]);
k = strlen(userconf_cmds[j]);
while (k < 10) {
printf(" ");