Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/hp700 Improve panic message.
details: https://anonhg.NetBSD.org/src/rev/dab4f78e3c62
branches: trunk
changeset: 753370:dab4f78e3c62
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Mar 24 12:38:55 2010 +0000
description:
Improve panic message.
diffstat:
sys/arch/hp700/hp700/intr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 20883148e1b5 -r dab4f78e3c62 sys/arch/hp700/hp700/intr.c
--- a/sys/arch/hp700/hp700/intr.c Wed Mar 24 12:18:54 2010 +0000
+++ b/sys/arch/hp700/hp700/intr.c Wed Mar 24 12:38:55 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.c,v 1.22 2010/03/11 07:21:24 skrll Exp $ */
+/* $NetBSD: intr.c,v 1.23 2010/03/24 12:38:55 skrll Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.22 2010/03/11 07:21:24 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.23 2010/03/24 12:38:55 skrll Exp $");
#define __MUTEX_PRIVATE
@@ -175,7 +175,7 @@
/* Panic on a bad interrupt bit. */
if (bit_pos < 0 || bit_pos >= HP700_INT_BITS)
- panic("hp700_intr_establish: bad interrupt bit");
+ panic("%s: bad interrupt bit %d", __func__, bit_pos);
/*
* Panic if this int bit is already handled,
Home |
Main Index |
Thread Index |
Old Index