summaryrefslogtreecommitdiffstats
path: root/sys/dev/an
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-06 18:55:24 +0000
committerjhb <jhb@FreeBSD.org>2002-11-06 18:55:24 +0000
commit292fe1c0a4efaabb4224a3f94be4b4d66d156620 (patch)
tree801a93efc842e857d4163c98dffdfc6f31e9ef3e /sys/dev/an
parent6a634df29088acdc84f365adc9ede2707a165672 (diff)
downloadFreeBSD-src-292fe1c0a4efaabb4224a3f94be4b4d66d156620.zip
FreeBSD-src-292fe1c0a4efaabb4224a3f94be4b4d66d156620.tar.gz
Fix warning where sizeof(size_t) != sizeof(int).
Diffstat (limited to 'sys/dev/an')
-rw-r--r--sys/dev/an/if_an.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index 9d44500..caecdbf 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -2848,7 +2848,7 @@ flashcard(ifp, l_ioctl)
break;
case AIROFLPUTBUF: /* Send 32k to card */
if (l_ioctl->len > sizeof(flashbuffer)) {
- printf("an%d: Buffer to big, %x %x\n", sc->an_unit,
+ printf("an%d: Buffer to big, %x %zx\n", sc->an_unit,
l_ioctl->len, sizeof(flashbuffer));
return -EINVAL;
}
OpenPOWER on IntegriCloud