Skip to content

Commit

Permalink
[IEEE80211]: Use correct size_t printf format string in ieee80211_rx.c
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 6, 2005
1 parent 3da54c5 commit 4c2cac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ieee80211/ieee80211_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ static inline int ieee80211_network_init(
left = stats->len - ((void *)info_element - (void *)beacon);
while (left >= sizeof(struct ieee80211_info_element_hdr)) {
if (sizeof(struct ieee80211_info_element_hdr) + info_element->len > left) {
IEEE80211_DEBUG_SCAN("SCAN: parse failed: info_element->len + 2 > left : info_element->len+2=%d left=%d.\n",
IEEE80211_DEBUG_SCAN("SCAN: parse failed: info_element->len + 2 > left : info_element->len+2=%Zd left=%d.\n",
info_element->len + sizeof(struct ieee80211_info_element),
left);
return 1;
Expand Down

0 comments on commit 4c2cac8

Please sign in to comment.