Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pckbport Use proper format string
details: https://anonhg.NetBSD.org/src/rev/171519c8253e
branches: trunk
changeset: 765370:171519c8253e
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 16:42:53 2011 +0000
description:
Use proper format string
diffstat:
sys/dev/pckbport/pms.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 85e6b2cd8da7 -r 171519c8253e sys/dev/pckbport/pms.c
--- a/sys/dev/pckbport/pms.c Tue May 24 16:42:31 2011 +0000
+++ b/sys/dev/pckbport/pms.c Tue May 24 16:42:53 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index