summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_crypto_wep.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-12-08 22:34:07 +0000
committersam <sam@FreeBSD.org>2004-12-08 22:34:07 +0000
commit0ea4584f3c501109ac3a4983940b4450a31a9bfe (patch)
tree8e9be5bee1f1490f1984d7148e3513a5e1acb55c /sys/net80211/ieee80211_crypto_wep.c
parentf85e5b20307bb5377ef122a6392725fa13576de6 (diff)
downloadFreeBSD-src-0ea4584f3c501109ac3a4983940b4450a31a9bfe.zip
FreeBSD-src-0ea4584f3c501109ac3a4983940b4450a31a9bfe.tar.gz
fixup printf arguments for 64-bit machines
Diffstat (limited to 'sys/net80211/ieee80211_crypto_wep.c')
-rw-r--r--sys/net80211/ieee80211_crypto_wep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_crypto_wep.c b/sys/net80211/ieee80211_crypto_wep.c
index 2edb5bb..2503f53 100644
--- a/sys/net80211/ieee80211_crypto_wep.c
+++ b/sys/net80211/ieee80211_crypto_wep.c
@@ -354,7 +354,7 @@ wep_encrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
if (data_len != 0) { /* out of data */
IEEE80211_DPRINTF(ctx->wc_ic,
IEEE80211_MSG_CRYPTO,
- "[%s] out of data for WEP (data_len %u)\n",
+ "[%s] out of data for WEP (data_len %zu)\n",
ether_sprintf(mtod(m0,
struct ieee80211_frame *)->i_addr2),
data_len);
@@ -438,7 +438,7 @@ wep_decrypt(struct ieee80211_key *key, struct mbuf *m0, int hdrlen)
if (data_len != 0) { /* out of data */
IEEE80211_DPRINTF(ctx->wc_ic,
IEEE80211_MSG_CRYPTO,
- "[%s] out of data for WEP (data_len %u)\n",
+ "[%s] out of data for WEP (data_len %zu)\n",
ether_sprintf(mtod(m0,
struct ieee80211_frame *)->i_addr2),
data_len);
OpenPOWER on IntegriCloud