Module Name: src Committed By: skrll Date: Fri Mar 22 13:28:11 UTC 2013
Modified Files: src/sys/dev/usb: ohci.c Log Message: Fix typo in function name in DIAGNOSTIC prinf by using __func__ To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 src/sys/dev/usb/ohci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/ohci.c diff -u src/sys/dev/usb/ohci.c:1.234 src/sys/dev/usb/ohci.c:1.235 --- src/sys/dev/usb/ohci.c:1.234 Fri Mar 22 13:20:12 2013 +++ src/sys/dev/usb/ohci.c Fri Mar 22 13:28:11 2013 @@ -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 @@ ohci_abort_xfer(usbd_xfer_handle xfer, u 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;