diff options
author | 2005-05-27 17:03:04 +0000 | |
---|---|---|
committer | 2005-05-27 17:03:04 +0000 | |
commit | f5b4e05ca60fadf60ced5ba144c0c06a7f8acf0b (patch) | |
tree | 563b145fdf78f8c4164d99b5a310cff34d17c5aa /sys | |
parent | No longer used after merge of atapi/scsi cd code. (diff) | |
download | wireguard-openbsd-f5b4e05ca60fadf60ced5ba144c0c06a7f8acf0b.tar.xz wireguard-openbsd-f5b4e05ca60fadf60ced5ba144c0c06a7f8acf0b.zip |
print the screwed ofs in the panic msg
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/cardbus/cardbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c index 5d86cec2326..8c015700fd5 100644 --- a/sys/dev/cardbus/cardbus.c +++ b/sys/dev/cardbus/cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cardbus.c,v 1.17 2005/05/09 02:01:36 brad Exp $ */ +/* $OpenBSD: cardbus.c,v 1.18 2005/05/27 17:03:04 mickey Exp $ */ /* $NetBSD: cardbus.c,v 1.24 2000/04/02 19:11:37 mycroft Exp $ */ /* @@ -830,7 +830,7 @@ cardbus_get_capability(cc, cf, tag, capid, offset, value) while (ofs != 0) { #ifdef DIAGNOSTIC if ((ofs & 3) || (ofs < 0x40)) - panic("cardbus_get_capability"); + panic("cardbus_get_capability 0x%x", ofs); #endif reg = cardbus_conf_read(cc, cf, tag, ofs); if (PCI_CAPLIST_CAP(reg) == capid) { |