summaryrefslogtreecommitdiff
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2003-04-05 18:12:36 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2003-04-05 18:12:36 +0000
commit0a65bc0775704b7eac2e2f2e6ed10af8dc75d7ca (patch)
treee2919d71a9367b59b520039d6185730fd462b3dc /sys/dev/ed
parent18a6505b16e61d51a49bc8932e7eb69bd49c58c1 (diff)
Notes
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index c84daf335934..06a182595f18 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -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);