diff options
author | fjoe <fjoe@FreeBSD.org> | 2002-08-06 17:00:02 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2002-08-06 17:00:02 +0000 |
commit | ed392d3011655983c4535560b4b01e50092131d5 (patch) | |
tree | aff43f4223efeba142054a245c865345495b094f /sys/dev | |
parent | 9c1f80c0802d3d320dfd3bfc9d6b51d5925086cc (diff) | |
download | FreeBSD-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.c | 2 | ||||
-rw-r--r-- | sys/dev/sbni/if_sbni_pci.c | 2 |
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, |