From 0ec2de62a754c9a5d038054e2e9e1c83fa4455b1 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 11 Mar 2006 08:36:15 +0000 Subject: [PATCH] Fix build. --- sys/dev/iwi/if_iwi.c | 4 ++-- 1 file 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; }