Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Fix typo in function name in DIAGNOSTIC prinf by...



details:   https://anonhg.NetBSD.org/src/rev/bf489e963b57
branches:  trunk
changeset: 785600:bf489e963b57
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Mar 22 13:28:11 2013 +0000

description:
Fix typo in function name in DIAGNOSTIC prinf by using __func__

diffstat:

 sys/dev/usb/ohci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f63edb7454f8 -r bf489e963b57 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Fri Mar 22 13:20:12 2013 +0000
+++ b/sys/dev/usb/ohci.c        Fri Mar 22 13:28:11 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.234 2013/03/22 13:20:12 skrll Exp $ */
+/*     $NetBSD: ohci.c,v 1.235 2013/03/22 13:28:11 skrll Exp $ */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.234 2013/03/22 13:20:12 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.235 2013/03/22 13:28:11 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2316,7 +2316,7 @@
                DPRINTFN(2, ("ohci_abort_xfer: already aborting\n"));
 #ifdef DIAGNOSTIC
                if (status == USBD_TIMEOUT)
-                       printf("0hci_abort_xfer: TIMEOUT while aborting\n");
+                       printf("%s: TIMEOUT while aborting\n", __func__);
 #endif
                /* Override the status which might be USBD_TIMEOUT. */
                xfer->status = status;



Home | Main Index | Thread Index | Old Index