diff options
author | kevlo <kevlo@FreeBSD.org> | 2011-07-07 15:41:40 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2011-07-07 15:41:40 +0000 |
commit | 6fa05979e3bc946cca70f63675f3bc41e1c29fd4 (patch) | |
tree | cd031a3f428e0efe15db3b71ea063c4da50fd137 /sys/net80211/ieee80211_ageq.c | |
parent | 57066eeffc3809b850ac3e912cf5303585f7180e (diff) | |
download | FreeBSD-src-6fa05979e3bc946cca70f63675f3bc41e1c29fd4.zip FreeBSD-src-6fa05979e3bc946cca70f63675f3bc41e1c29fd4.tar.gz |
Fix memset sizeofs
Reviewed by: bschmidt
Diffstat (limited to 'sys/net80211/ieee80211_ageq.c')
-rw-r--r-- | sys/net80211/ieee80211_ageq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_ageq.c b/sys/net80211/ieee80211_ageq.c index ea223f7..018ddc2 100644 --- a/sys/net80211/ieee80211_ageq.c +++ b/sys/net80211/ieee80211_ageq.c @@ -49,7 +49,7 @@ __FBSDID("$FreeBSD$"); void ieee80211_ageq_init(struct ieee80211_ageq *aq, int maxlen, const char *name) { - memset(aq, 0, sizeof(aq)); + memset(aq, 0, sizeof(*aq)); aq->aq_maxlen = maxlen; IEEE80211_AGEQ_INIT(aq, name); /* OS-dependent setup */ } |