diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-03-11 08:36:15 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-03-11 08:36:15 +0000 |
commit | 0ec2de62a754c9a5d038054e2e9e1c83fa4455b1 (patch) | |
tree | 47e4efad1b9181cc39591cf0c757a1ee58de51c4 /sys/dev/iwi | |
parent | ca2fa8076715db3a2759e13f0d9ba138a19d3a20 (diff) | |
download | src-0ec2de62a754c9a5d038054e2e9e1c83fa4455b1.tar.gz src-0ec2de62a754c9a5d038054e2e9e1c83fa4455b1.zip |
Fix build.
Notes
Notes:
svn path=/head/; revision=156565
Diffstat (limited to 'sys/dev/iwi')
-rw-r--r-- | sys/dev/iwi/if_iwi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c index e594acc7cd92..d08668a4c2ca 100644 --- a/sys/dev/iwi/if_iwi.c +++ b/sys/dev/iwi/if_iwi.c @@ -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; } |