Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Use proper format string
details: https://anonhg.NetBSD.org/src/rev/0720319bf791
branches: trunk
changeset: 765367:0720319bf791
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 16:40:21 2011 +0000
description:
Use proper format string
diffstat:
sys/dev/usb/uvideo.c | 6 +++---
sys/kern/subr_userconf.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r e21617e5cc7b -r 0720319bf791 sys/dev/usb/uvideo.c
--- a/sys/dev/usb/uvideo.c Tue May 24 16:39:56 2011 +0000
+++ b/sys/dev/usb/uvideo.c Tue May 24 16:40:21 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvideo.c,v 1.34 2011/05/16 10:53:19 drochner Exp $ */
+/* $NetBSD: uvideo.c,v 1.35 2011/05/24 16:40:21 joerg Exp $ */
/*
* Copyright (c) 2008 Patrick Mahoney
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.34 2011/05/16 10:53:19 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvideo.c,v 1.35 2011/05/24 16:40:21 joerg Exp $");
#ifdef _MODULE
#include <sys/module.h>
@@ -1511,7 +1511,7 @@
bx->bx_running = true;
ret = kthread_create(PRI_UVIDEO, 0, NULL,
uvideo_stream_recv_bulk_transfer, vs,
- NULL, device_xname(sc->sc_dev));
+ NULL, "%s", device_xname(sc->sc_dev));
if (ret) {
DPRINTF(("uvideo: couldn't create kthread:"
" %d\n", err));
diff -r e21617e5cc7b -r 0720319bf791 sys/kern/subr_userconf.c
--- a/sys/kern/subr_userconf.c Tue May 24 16:39:56 2011 +0000
+++ b/sys/kern/subr_userconf.c Tue May 24 16:40:21 2011 +0000
@@ -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 <moj%stacken.kth.se@localhost>
@@ -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(" ");
Home |
Main Index |
Thread Index |
Old Index