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

Modified Files:
        src/sys/dev/pckbport: pms.c

Log Message:
Use proper format string


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/pckbport/pms.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/pckbport/pms.c
diff -u src/sys/dev/pckbport/pms.c:1.30 src/sys/dev/pckbport/pms.c:1.31
--- src/sys/dev/pckbport/pms.c:1.30	Wed Feb 24 22:38:08 2010
+++ src/sys/dev/pckbport/pms.c	Tue May 24 16:42:53 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pms.c,v 1.30 2010/02/24 22:38:08 dyoung Exp $ */
+/* $NetBSD: pms.c,v 1.31 2011/05/24 16:42:53 joerg Exp $ */
 
 /*-
  * Copyright (c) 2004 Kentaro Kurahone.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pms.c,v 1.30 2010/02/24 22:38:08 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pms.c,v 1.31 2011/05/24 16:42:53 joerg Exp $");
 
 #include "opt_pms.h"
 
@@ -230,7 +230,7 @@
 	pckbport_slot_enable(sc->sc_kbctag, sc->sc_kbcslot, 0);
 
 	kthread_create(PRI_NONE, 0, NULL, pms_reset_thread, sc,
-	    &sc->sc_event_thread, device_xname(sc->sc_dev));
+	    &sc->sc_event_thread, "%s", device_xname(sc->sc_dev));
 
 #ifndef PMS_DISABLE_POWERHOOK
 	sc->sc_suspended = 0;

Reply via email to