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 panic message
details: https://anonhg.NetBSD.org/src/rev/55fe92dc8e3f
branches: nick-nhusb
changeset: 334604:55fe92dc8e3f
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 02 16:45:30 2017 +0000
description:
Use __func__ in panic message
diffstat:
sys/dev/usb/xhci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 489e80b501d1 -r 55fe92dc8e3f sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c Mon Jan 02 16:39:36 2017 +0000
+++ b/sys/dev/usb/xhci.c Mon Jan 02 16:45:30 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.28.2.80 2017/01/02 16:34:40 skrll Exp $ */
+/* $NetBSD: xhci.c,v 1.28.2.81 2017/01/02 16:45:30 skrll Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.80 2017/01/02 16:34:40 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.81 2017/01/02 16:45:30 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -2996,7 +2996,7 @@
goto found;
}
}
- panic("xhci_setup_route: cannot find HS port");
+ panic("%d: cannot find HS port", __func__);
found:
DPRINTFN(4, "high speed port %d", p, 0, 0, 0);
} else {
Home |
Main Index |
Thread Index |
Old Index