summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2013-10-01 19:41:34 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2013-10-01 19:41:34 +0000
commitba7fbfcdbf1c89cb49aa02de612a679f55b93140 (patch)
treeb7b6fb129b65d5469bd8e4d88498000a53c43f12 /sys/arch/i386
parent79fb5e12b0c115a1d3c04d97fe8f6cbb309ee35f (diff)
format string fix: it's u_long *addr
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/pci/pci_addr_fixup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pci_addr_fixup.c b/sys/arch/i386/pci/pci_addr_fixup.c
index e4eb1b4a2de..10238e5a989 100644
--- a/sys/arch/i386/pci/pci_addr_fixup.c
+++ b/sys/arch/i386/pci/pci_addr_fixup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_addr_fixup.c,v 1.22 2010/07/02 16:11:19 jsg Exp $ */
+/* $OpenBSD: pci_addr_fixup.c,v 1.23 2013/10/01 19:41:33 sf Exp $ */
/* $NetBSD: pci_addr_fixup.c,v 1.7 2000/08/03 20:10:45 nathanw Exp $ */
/*-
@@ -354,7 +354,7 @@ pciaddr_do_resource_reserve_disabled(struct pcibios_softc *sc,
(val & PCI_COMMAND_IO_ENABLE) == PCI_COMMAND_IO_ENABLE)
return (0);
- PCIBIOS_PRINTV(("disabled %s space at addr 0x%x size 0x%x\n",
+ PCIBIOS_PRINTV(("disabled %s space at addr 0x%lx size 0x%x\n",
type == PCI_MAPREG_TYPE_MEM ? "mem" : "io", *addr, size));
error = extent_alloc_region(ex, *addr, size, EX_NOWAIT | EX_MALLOCOK);