summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2016-01-04 17:17:06 +0000
committeradrian <adrian@FreeBSD.org>2016-01-04 17:17:06 +0000
commiteee99444ca51cdafcde71ee1e7decd6abe8c7fa2 (patch)
tree44280fe34ba73be01baf4e54626a85faf212f312 /sys/net80211
parent31d78f6810b70b03dcf590bdcd1f8520d199099d (diff)
downloadFreeBSD-src-eee99444ca51cdafcde71ee1e7decd6abe8c7fa2.zip
FreeBSD-src-eee99444ca51cdafcde71ee1e7decd6abe8c7fa2.tar.gz
[net80211] fix duration field; it's unsigned, but not long.
Submitted by: Imre Vadasz <imre@vdsz.com> Obtained from: DragonflyBSD
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_scan_sw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_scan_sw.c b/sys/net80211/ieee80211_scan_sw.c
index 163633c..53e4520 100644
--- a/sys/net80211/ieee80211_scan_sw.c
+++ b/sys/net80211/ieee80211_scan_sw.c
@@ -359,7 +359,7 @@ ieee80211_swscan_bg_scan(const struct ieee80211_scanner *scan,
duration = IEEE80211_SCAN_OFFCHANNEL;
IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCAN,
- "%s: %s scan, ticks %u duration %lu\n", __func__,
+ "%s: %s scan, ticks %u duration %u\n", __func__,
ss->ss_flags & IEEE80211_SCAN_ACTIVE ? "active" : "passive",
ticks, duration);
OpenPOWER on IntegriCloud