diff options
author | Aaron Marcher <me@drkhsh.at> | 2018-05-16 23:08:33 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-16 23:08:33 +0200 |
commit | 9d967498bef586b7537f622520ffea34c0b54380 (patch) | |
tree | 08e1d285e68a41467b7ad68ea4fe55357b63242b /components | |
parent | f3c23f08bb2b7210decdf695b374fb8ee14e1761 (diff) |
load_ieee80211_nodereq: Fix typo
Diffstat (limited to 'components')
-rw-r--r-- | components/wifi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/wifi.c b/components/wifi.c index 78acb3f..bc7f4a3 100644 --- a/components/wifi.c +++ b/components/wifi.c @@ -106,7 +106,7 @@ { struct ieee80211_bssid bssid; int sockfd; - memset(&bssid, 0, sizeof(bssid); + memset(&bssid, 0, sizeof(bssid)); memset(nr, 0, sizeof(struct ieee80211_nodereq)); if ((sockfd = socket(AF_INET, SOCK_DGRAM, 0)) == -1) { fprintf(stderr, "socket 'AF_INET': %s\n", |