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

This commit is contained in:
Olivier Houchard 2003-04-05 18:12:36 +00:00
parent 18a6505b16
commit 0a65bc0775
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113131

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