Module Name:    src
Committed By:   joerg
Date:           Tue May 24 16:42:31 UTC 2011

Modified Files:
        src/sys/dev/usb: pseye.c

Log Message:
Use proper format string.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/usb/pseye.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/dev/usb/pseye.c
diff -u src/sys/dev/usb/pseye.c:1.20 src/sys/dev/usb/pseye.c:1.21
--- src/sys/dev/usb/pseye.c:1.20	Tue Dec 28 00:49:21 2010
+++ src/sys/dev/usb/pseye.c	Tue May 24 16:42:31 2011
@@ -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 <[email protected]>
@@ -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);

Reply via email to