summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2002-08-06 17:00:02 +0000
committerfjoe <fjoe@FreeBSD.org>2002-08-06 17:00:02 +0000
commited392d3011655983c4535560b4b01e50092131d5 (patch)
treeaff43f4223efeba142054a245c865345495b094f /sys/dev
parent9c1f80c0802d3d320dfd3bfc9d6b51d5925086cc (diff)
downloadFreeBSD-src-ed392d3011655983c4535560b4b01e50092131d5.zip
FreeBSD-src-ed392d3011655983c4535560b4b01e50092131d5.tar.gz
printf() formats fixes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sbni/if_sbni_isa.c2
-rw-r--r--sys/dev/sbni/if_sbni_pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbni/if_sbni_isa.c b/sys/dev/sbni/if_sbni_isa.c
index c1521c4..904e456 100644
--- a/sys/dev/sbni/if_sbni_isa.c
+++ b/sys/dev/sbni/if_sbni_isa.c
@@ -113,7 +113,7 @@ sbni_attach_isa(device_t dev)
sc = device_get_softc(dev);
- printf("sbni%d: <Granch SBNI12/ISA adapter> port 0x%x",
+ printf("sbni%d: <Granch SBNI12/ISA adapter> port 0x%lx",
next_sbni_unit, rman_get_start(sc->io_res));
sc->irq_res = bus_alloc_resource(
dev, SYS_RES_IRQ, &sc->irq_rid, 0ul, ~0ul, 1, RF_ACTIVE);
diff --git a/sys/dev/sbni/if_sbni_pci.c b/sys/dev/sbni/if_sbni_pci.c
index af3be97..95d4ddf 100644
--- a/sys/dev/sbni/if_sbni_pci.c
+++ b/sys/dev/sbni/if_sbni_pci.c
@@ -129,7 +129,7 @@ sbni_pci_attach(device_t dev)
sc = device_get_softc(dev);
- printf("sbni%d: <Granch SBNI12/PCI%sadapter> port 0x%x",
+ printf("sbni%d: <Granch SBNI12/PCI%sadapter> port 0x%lx",
next_sbni_unit, sc->slave_sc ? " Dual " : " ",
rman_get_start(sc->io_res));
sc->irq_res = bus_alloc_resource(dev, SYS_RES_IRQ, &sc->irq_rid,
OpenPOWER on IntegriCloud