Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/dev Another copy/paste problem with a functio...



details:   https://anonhg.NetBSD.org/src/rev/a68d7c526d34
branches:  trunk
changeset: 769406:a68d7c526d34
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Sep 08 15:36:42 2011 +0000

description:
Another copy/paste problem with a function name in a error printf.

diffstat:

 sys/arch/sparc/dev/ms_pckbport.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ddc86b5e4f66 -r a68d7c526d34 sys/arch/sparc/dev/ms_pckbport.c
--- a/sys/arch/sparc/dev/ms_pckbport.c  Thu Sep 08 15:34:07 2011 +0000
+++ b/sys/arch/sparc/dev/ms_pckbport.c  Thu Sep 08 15:36:42 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ms_pckbport.c,v 1.7 2011/09/08 15:34:07 jakllsch Exp $ */
+/*     $NetBSD: ms_pckbport.c,v 1.8 2011/09/08 15:36:42 jakllsch Exp $ */
 
 /*
  * Copyright (c) 2002 Valeriy E. Ushakov
@@ -27,7 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ms_pckbport.c,v 1.7 2011/09/08 15:34:07 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ms_pckbport.c,v 1.8 2011/09/08 15:36:42 jakllsch Exp $");
 
 /*
  * Attach PS/2 mouse at pckbport aux port
@@ -172,7 +172,7 @@
        res = pckbport_enqueue_cmd(sc->sc_kbctag, sc->sc_kbcslot,
                                cmd, 1, 0, 1, NULL);
        if (res)
-               printf("pms_disable: command error\n");
+               printf("%s: command error\n", __func__);
 
        pckbport_slot_enable(sc->sc_kbctag, sc->sc_kbcslot, 0);
 



Home | Main Index | Thread Index | Old Index