1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

printf() formats fixes

This commit is contained in:
Max Khon 2002-08-06 17:00:02 +00:00
parent e774a21fd0
commit ae9e184e5e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101432
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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,