Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb Use __func__ in printf



details:   https://anonhg.NetBSD.org/src/rev/2a9042589c50
branches:  nick-nhusb
changeset: 334422:2a9042589c50
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Feb 28 16:18:15 2016 +0000

description:
Use __func__ in printf

diffstat:

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

diffs (27 lines):

diff -r 1b4deb337af5 -r 2a9042589c50 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Sun Feb 28 11:51:24 2016 +0000
+++ b/sys/dev/usb/uhci.c        Sun Feb 28 16:18:15 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.264.4.63 2016/02/28 09:16:20 skrll Exp $    */
+/*     $NetBSD: uhci.c,v 1.264.4.64 2016/02/28 16:18:15 skrll Exp $    */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.63 2016/02/28 09:16:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.64 2016/02/28 16:18:15 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -3051,7 +3051,7 @@
 
        if (xfer->ux_status == USBD_IN_PROGRESS) {
                /* This request has already been entered into the frame list */
-               printf("uhci_device_isoc_enter: xfer=%p in frame list\n", xfer);
+               printf("%s: xfer=%p in frame list\n", __func__, xfer);
                /* XXX */
        }
 



Home | Main Index | Thread Index | Old Index