Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Use proper format string.
details: https://anonhg.NetBSD.org/src/rev/85e6b2cd8da7
branches: trunk
changeset: 765369:85e6b2cd8da7
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 16:42:31 2011 +0000
description:
Use proper format string.
diffstat:
sys/dev/usb/pseye.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a4b89cc0a8cb -r 85e6b2cd8da7 sys/dev/usb/pseye.c
--- a/sys/dev/usb/pseye.c Tue May 24 16:42:10 2011 +0000
+++ b/sys/dev/usb/pseye.c Tue May 24 16:42:31 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pseye.c,v 1.20 2010/12/28 00:49:21 jmcneill Exp $ */
+/* $NetBSD: pseye.c,v 1.21 2011/05/24 16:42:31 joerg Exp $ */
/*-
* Copyright (c) 2008 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pseye.c,v 1.20 2010/12/28 00:49:21 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pseye.c,v 1.21 2011/05/24 16:42:31 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -812,7 +812,7 @@
if (sc->sc_running == 0) {
sc->sc_running = 1;
err = kthread_create(PRI_PSEYE, 0, NULL, pseye_transfer_thread,
- opaque, NULL, device_xname(sc->sc_dev));
+ opaque, NULL, "%s", device_xname(sc->sc_dev));
} else
aprint_error_dev(sc->sc_dev, "transfer already in progress\n");
mutex_exit(&sc->sc_mtx);
Home |
Main Index |
Thread Index |
Old Index