summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-11-13 15:52:00 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-11-13 15:52:00 +0000
commit3f7b80c238aae33aef6ee251c722bb10e7251a9e (patch)
tree0315c9f0e7f18d296384a4a45f6e0bb7d8885b9c /sys/arch/sparc64/dev
parentd7aeee2e1ae883d6940f4634c52dd6f74d81c617 (diff)
Fix printf format string.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/schizo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/schizo.c b/sys/arch/sparc64/dev/schizo.c
index 7ef71e793c9..b8ae049f7cd 100644
--- a/sys/arch/sparc64/dev/schizo.c
+++ b/sys/arch/sparc64/dev/schizo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: schizo.c,v 1.51 2007/10/10 11:31:49 krw Exp $ */
+/* $OpenBSD: schizo.c,v 1.52 2007/11/13 15:51:59 kettenis Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -301,7 +301,7 @@ schizo_pci_error(void *vpbm)
printf("PCIAFSR=%lb\n", afsr, SCZ_PCIAFSR_BITS);
printf("PCIAFAR=%lx\n", afar);
printf("PCICTRL=%lb\n", ctrl, SCZ_PCICTRL_BITS);
- printf("PCICSR=%lb\n", csr, PCI_COMMAND_STATUS_BITS);
+ printf("PCICSR=%b\n", csr, PCI_COMMAND_STATUS_BITS);
if (ctrl & SCZ_PCICTRL_MMU_ERR) {
u_int32_t ctrl, tfar;