summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_crypto_tkip.c
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2008-08-29 08:44:51 +0000
committeravatar <avatar@FreeBSD.org>2008-08-29 08:44:51 +0000
commit7b8996a88bd32c99c43e2bd3de94497b30c496cd (patch)
tree25a51fb5916e0879a3e68e00b45df57b9cfd3347 /sys/net80211/ieee80211_crypto_tkip.c
parente920342cd46a6e2b57b701fa655a92aa3159605e (diff)
downloadFreeBSD-src-7b8996a88bd32c99c43e2bd3de94497b30c496cd.zip
FreeBSD-src-7b8996a88bd32c99c43e2bd3de94497b30c496cd.tar.gz
Fixing INVARIANTS build by adding 'z' format prefix for size_t typed
variable. Reminded by: tinderbox
Diffstat (limited to 'sys/net80211/ieee80211_crypto_tkip.c')
-rw-r--r--sys/net80211/ieee80211_crypto_tkip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_crypto_tkip.c b/sys/net80211/ieee80211_crypto_tkip.c
index fc963ca..f509856 100644
--- a/sys/net80211/ieee80211_crypto_tkip.c
+++ b/sys/net80211/ieee80211_crypto_tkip.c
@@ -894,7 +894,7 @@ michael_mic(struct tkip_ctx *ctx, const u8 *key,
* do then we'll need more involved logic.
*/
KASSERT(data_len <= space,
- ("not enough data, data_len %u space %u\n", data_len, space));
+ ("not enough data, data_len %zu space %u\n", data_len, space));
/* Last block and padding (0x5a, 4..7 x 0) */
switch (data_len) {
OpenPOWER on IntegriCloud