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 Correct copy/paste of function name in er...



details:   https://anonhg.NetBSD.org/src/rev/ddc86b5e4f66
branches:  trunk
changeset: 769405:ddc86b5e4f66
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Sep 08 15:34:07 2011 +0000

description:
Correct copy/paste of function name in error printf.

diffstat:

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

diffs (27 lines):

diff -r 0f24b40dbeef -r ddc86b5e4f66 sys/arch/sparc/dev/ms_pckbport.c
--- a/sys/arch/sparc/dev/ms_pckbport.c  Thu Sep 08 15:27:50 2011 +0000
+++ b/sys/arch/sparc/dev/ms_pckbport.c  Thu Sep 08 15:34:07 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ms_pckbport.c,v 1.6 2011/07/01 18:50:41 dyoung Exp $ */
+/*     $NetBSD: ms_pckbport.c,v 1.7 2011/09/08 15:34:07 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.6 2011/07/01 18:50:41 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ms_pckbport.c,v 1.7 2011/09/08 15:34:07 jakllsch Exp $");
 
 /*
  * Attach PS/2 mouse at pckbport aux port
@@ -152,7 +152,7 @@
        res = pckbport_enqueue_cmd(sc->sc_kbctag, sc->sc_kbcslot,
                                cmd, 1, 0, 1, NULL);
        if (res) {
-               printf("pms_enable: command error\n");
+               printf("%s: command error\n", __func__);
                return (res);
        }
 



Home | Main Index | Thread Index | Old Index