diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2005-09-06 02:19:49 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-09-06 02:19:49 -0400 |
commit | 4c2cac8908ded8436191bd058e52d2737fd7fd31 (patch) | |
tree | 28cfd76769082f610c9fd6afd0d8b5e287a84636 /net/ieee80211 | |
parent | 3da54c5b253549153ee6521db21d541a06abaa65 (diff) |
[IEEE80211]: Use correct size_t printf format string in ieee80211_rx.c
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee80211')
-rw-r--r-- | net/ieee80211/ieee80211_rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index d582faa6447d..a5905f53aed7 100644 --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c | |||
@@ -831,7 +831,7 @@ static inline int ieee80211_network_init( | |||
831 | left = stats->len - ((void *)info_element - (void *)beacon); | 831 | left = stats->len - ((void *)info_element - (void *)beacon); |
832 | while (left >= sizeof(struct ieee80211_info_element_hdr)) { | 832 | while (left >= sizeof(struct ieee80211_info_element_hdr)) { |
833 | if (sizeof(struct ieee80211_info_element_hdr) + info_element->len > left) { | 833 | if (sizeof(struct ieee80211_info_element_hdr) + info_element->len > left) { |
834 | IEEE80211_DEBUG_SCAN("SCAN: parse failed: info_element->len + 2 > left : info_element->len+2=%d left=%d.\n", | 834 | IEEE80211_DEBUG_SCAN("SCAN: parse failed: info_element->len + 2 > left : info_element->len+2=%Zd left=%d.\n", |
835 | info_element->len + sizeof(struct ieee80211_info_element), | 835 | info_element->len + sizeof(struct ieee80211_info_element), |
836 | left); | 836 | left); |
837 | return 1; | 837 | return 1; |