diff options
author | mux <mux@FreeBSD.org> | 2002-11-14 14:02:32 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-11-14 14:02:32 +0000 |
commit | e428fcdb38b8d756da3ec7fcbd2e756ad1c15073 (patch) | |
tree | 188470e718c775c09582a0185a98292a0bb7199e /sys/dev | |
parent | b0b1ee967f791873f6c67ba1a71064bffa462b42 (diff) | |
download | FreeBSD-src-e428fcdb38b8d756da3ec7fcbd2e756ad1c15073.zip FreeBSD-src-e428fcdb38b8d756da3ec7fcbd2e756ad1c15073.tar.gz |
Fix printf() format errors.
Reviewed by: imp
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pccard/pccard.c | 2 | ||||
-rw-r--r-- | sys/dev/pccard/pccard_cis.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c index a6b9912..6c82632 100644 --- a/sys/dev/pccard/pccard.c +++ b/sys/dev/pccard/pccard.c @@ -583,7 +583,7 @@ pccard_function_enable(struct pccard_function *pf) &pf->ccr_rid, 0, ~0, 1 << 10, RF_ACTIVE); if (!pf->ccr_res) goto bad; - DEVPRINTF((dev, "ccr_res == %lx-%lx, base=%lx\n", + DEVPRINTF((dev, "ccr_res == %lx-%lx, base=%x\n", rman_get_start(pf->ccr_res), rman_get_end(pf->ccr_res), pf->ccr_base)); CARD_SET_RES_FLAGS(device_get_parent(dev), dev, SYS_RES_MEMORY, diff --git a/sys/dev/pccard/pccard_cis.c b/sys/dev/pccard/pccard_cis.c index c11e29f..70387d8 100644 --- a/sys/dev/pccard/pccard_cis.c +++ b/sys/dev/pccard/pccard_cis.c @@ -503,7 +503,7 @@ pccard_print_cis(device_t dev) break; } - printf(", ccr addr %lx mask %lx\n", pf->ccr_base, pf->ccr_mask); + printf(", ccr addr %x mask %x\n", pf->ccr_base, pf->ccr_mask); STAILQ_FOREACH(cfe, &pf->cfe_head, cfe_list) { device_printf(dev, "function %d, config table entry " |