From 2bc01c3a32e72785ebd15339ea4d9c2bc313dc8d Mon Sep 17 00:00:00 2001 From: Tai-hwa Liang Date: Fri, 29 Aug 2008 08:44:51 +0000 Subject: [PATCH] Fixing INVARIANTS build by adding 'z' format prefix for size_t typed variable. Reminded by: tinderbox --- sys/net80211/ieee80211_crypto_tkip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_crypto_tkip.c b/sys/net80211/ieee80211_crypto_tkip.c index fc963cadf42..f509856ac9c 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) {