diff options
author | 2007-11-13 15:51:59 +0000 | |
---|---|---|
committer | 2007-11-13 15:51:59 +0000 | |
commit | a5df2c7ed2403696bdc6eaeb779f47ce9a073d17 (patch) | |
tree | eb058002fa627e7bcc636c97a46e1847a74bef63 | |
parent | Remove bsd_openprom.h. (diff) | |
download | wireguard-openbsd-a5df2c7ed2403696bdc6eaeb779f47ce9a073d17.tar.xz wireguard-openbsd-a5df2c7ed2403696bdc6eaeb779f47ce9a073d17.zip |
Fix printf format string.
-rw-r--r-- | sys/arch/sparc64/dev/schizo.c | 4 |
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; |