diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-05-27 17:03:05 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2005-05-27 17:03:05 +0000 |
commit | ac9cad85447846fc2e7717ab1910786314400c2c (patch) | |
tree | 09e3fc8607d86d9824d1726379d07e153480761f | |
parent | 20e5ac48a0c4ac10784169c11b1cf6fd1cf71280 (diff) |
print the screwed ofs in the panic msg
-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) { |