Fix printf() format errors.
Reviewed by: imp
This commit is contained in:
parent
08d57fc83c
commit
b2423a5f88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106914
@ -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,
|
||||
|
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user