summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2007-05-28 13:07:50 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2007-05-28 13:07:50 +0000
commit16863ec2e166e854d8e97271fb1f62403865caca (patch)
tree8ed5c1b4aaef246562a0c9c74bf96364fbd546e9 /sys/dev/pci
parent527bc72819037e26ae05ebd7822a5631f67cee5b (diff)
Better debug printf.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ips.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c
index c62d60a3172..af3f5241996 100644
--- a/sys/dev/pci/ips.c
+++ b/sys/dev/pci/ips.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ips.c,v 1.22 2007/05/28 05:10:12 grange Exp $ */
+/* $OpenBSD: ips.c,v 1.23 2007/05/28 13:07:49 grange Exp $ */
/*
* Copyright (c) 2006, 2007 Alexander Yurchenko <grange@openbsd.org>
@@ -713,8 +713,8 @@ ips_poll(struct ips_softc *sc, struct ips_ccb *c)
continue;
id = IPS_REG_STAT_ID(status);
if (id >= sc->sc_nccbs) {
- DPRINTF(IPS_D_ERR, ("%s: invalid command %d\n",
- sc->sc_dev.dv_xname, id));
+ DPRINTF(IPS_D_ERR, ("%s: invalid command "
+ "0x%02x\n", sc->sc_dev.dv_xname, id));
continue;
}
break;