Fix build.

This commit is contained in:
Ruslan Ermilov 2006-03-11 08:36:15 +00:00
parent ca2fa80767
commit 0ec2de62a7

View File

@ -2447,7 +2447,7 @@ iwi_init(void *priv)
if (fp->datasize < sizeof *hdr) {
device_printf(sc->sc_dev,
"firmware image too short: %d bytes\n", fp->datasize);
"firmware image too short: %zu bytes\n", fp->datasize);
goto fail2;
}
@ -2456,7 +2456,7 @@ iwi_init(void *priv)
if (fp->datasize < sizeof *hdr + le32toh(hdr->bootsz) +
le32toh(hdr->ucodesz) + le32toh(hdr->mainsz)) {
device_printf(sc->sc_dev,
"firmware image too short: %d bytes\n", fp->datasize);
"firmware image too short: %zu bytes\n", fp->datasize);
goto fail2;
}