diff options
author | Chris Cappuccio <chris@cvs.openbsd.org> | 2001-08-31 18:14:38 +0000 |
---|---|---|
committer | Chris Cappuccio <chris@cvs.openbsd.org> | 2001-08-31 18:14:38 +0000 |
commit | 3c5341b931100f8fbd72385ef43a47edc7e5ed66 (patch) | |
tree | 9f3c335fc16eba57629e8e3734da78622e831b14 /sys/dev/pci/pciide.c | |
parent | 6afc0e94c07ecf26f02332db7d8bdbe29ce1ebd1 (diff) |
Print a hex value with 0x (Alexander Yurchenko <grange@rt.mipt.ru>)
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r-- | sys/dev/pci/pciide.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c index 8f94ce7270a..966656fbf17 100644 --- a/sys/dev/pci/pciide.c +++ b/sys/dev/pci/pciide.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide.c,v 1.65 2001/08/25 12:43:58 art Exp $ */ +/* $OpenBSD: pciide.c,v 1.66 2001/08/31 18:14:37 chris Exp $ */ /* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */ /* @@ -608,7 +608,7 @@ pciide_attach(parent, self, aux) pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, csr); } - WDCDEBUG_PRINT(("pciide: command/status register=%x\n", + WDCDEBUG_PRINT(("pciide: command/status register=0x%x\n", pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG)), DEBUG_PROBE); } |