Fix ed compilation with PAE by using %jx instead of %x.

This commit is contained in:
cognet 2003-04-05 18:12:36 +00:00
parent b38faa6ae8
commit 975f6df38d

View File

@ -568,8 +568,8 @@ ed_probe_WD80x3_generic(dev, flags, intr_vals)
for (i = 0; i < memsize; ++i) {
if (sc->mem_start[i]) {
device_printf(dev, "failed to clear shared memory at %x - check configuration\n",
kvtop(sc->mem_start + i));
device_printf(dev, "failed to clear shared memory at %jx - check configuration\n",
(uintmax_t)kvtop(sc->mem_start + i));
/*
* Disable 16 bit access to shared memory
@ -903,8 +903,8 @@ ed_probe_3Com(dev, port_rid, flags)
for (i = 0; i < memsize; ++i)
if (sc->mem_start[i]) {
device_printf(dev, "failed to clear shared memory at %x - check configuration\n",
kvtop(sc->mem_start + i));
device_printf(dev, "failed to clear shared memory at %jx - check configuration\n",
(uintmax_t)kvtop(sc->mem_start + i));
return (ENXIO);
}
return (0);