Kill printf warnings.

This commit is contained in:
Warner Losh 1999-09-26 21:24:36 +00:00
parent 2a31267e43
commit 8fc2f800b0

View File

@ -183,7 +183,7 @@ pccnbk_alloc_resources(device_t dev)
devi->iorv = BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
SYS_RES_IOPORT, &rid, start, end, count, RF_ACTIVE);
if (!devi->iorv) {
printf("Cannot allocate ports 0x%x-0x%x\n", start, end);
printf("Cannot allocate ports 0x%lx-0x%lx\n", start, end);
return (ENOMEM);
}
rid = 0;