Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pckbport Disambiguate debug message.



details:   https://anonhg.NetBSD.org/src/rev/873dbc3fde7a
branches:  trunk
changeset: 809500:873dbc3fde7a
user:      prlw1 <prlw1%NetBSD.org@localhost>
date:      Thu Jul 16 15:01:04 2015 +0000

description:
Disambiguate debug message.

diffstat:

 sys/dev/pckbport/pckbd.c |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 6944d9a0ae11 -r 873dbc3fde7a sys/dev/pckbport/pckbd.c
--- a/sys/dev/pckbport/pckbd.c  Thu Jul 16 13:10:37 2015 +0000
+++ b/sys/dev/pckbport/pckbd.c  Thu Jul 16 15:01:04 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pckbd.c,v 1.31 2013/09/15 09:24:05 martin Exp $ */
+/* $NetBSD: pckbd.c,v 1.32 2015/07/16 15:01:04 prlw1 Exp $ */
 
 /*-
  * Copyright (c) 1998, 2009 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pckbd.c,v 1.31 2013/09/15 09:24:05 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pckbd.c,v 1.32 2015/07/16 15:01:04 prlw1 Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -288,10 +288,9 @@
        res = pckbport_poll_cmd(sc->id->t_kbctag,
            sc->id->t_kbcslot, cmd, 1, 1, resp, 1);
        if (res)
-               aprint_debug("pckbdprobe: reset error %d\n", res);
+               aprint_debug("%s: reset error %d\n", __func__, res);
        if (resp[0] != KBR_RSTDONE)
-               printf("pckbdprobe: reset response 0x%x\n",
-                   resp[0]);
+               printf("%s: reset response 0x%x\n", __func__, resp[0]);
 
        pckbport_flush(sc->id->t_kbctag, sc->id->t_kbcslot);
 



Home | Main Index | Thread Index | Old Index