aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_crypto_tkip.c
diff options
context:
space:
mode:
authorTai-hwa Liang <avatar@FreeBSD.org>2008-08-29 08:44:51 +0000
committerTai-hwa Liang <avatar@FreeBSD.org>2008-08-29 08:44:51 +0000
commit2bc01c3a32e72785ebd15339ea4d9c2bc313dc8d (patch)
tree25a51fb5916e0879a3e68e00b45df57b9cfd3347 /sys/net80211/ieee80211_crypto_tkip.c
parent02a1ebb4e308f17ab54a01e30d404a17cc3b1333 (diff)
Fixing INVARIANTS build by adding 'z' format prefix for size_t typed
variable. Reminded by: tinderbox
Notes
Notes: svn path=/head/; revision=182437
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 fc963cadf428..f509856ac9c5 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) {