summaryrefslogtreecommitdiff
path: root/usr.sbin/hostapd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-06-26 23:06:08 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-06-26 23:06:08 +0000
commit9e9988f19afd848e2f55a63d7b7611b6cb7c706f (patch)
tree2e553728897c04bd1fec5a9208df89e4e981d868 /usr.sbin/hostapd
parent3b575d79ea5286da7d1356614beb2a04a8d095e1 (diff)
fix printing of the RSSI radiotap element: use the PRINTF wrapper
around hostapd_log instead of the printf function
Diffstat (limited to 'usr.sbin/hostapd')
-rw-r--r--usr.sbin/hostapd/print-802_11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hostapd/print-802_11.c b/usr.sbin/hostapd/print-802_11.c
index b97992c2efb..1e50ce3210d 100644
--- a/usr.sbin/hostapd/print-802_11.c
+++ b/usr.sbin/hostapd/print-802_11.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-802_11.c,v 1.5 2006/06/23 21:53:01 reyk Exp $ */
+/* $OpenBSD: print-802_11.c,v 1.6 2006/06/26 23:06:07 reyk Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -627,7 +627,7 @@ ieee802_11_radio_if_print(u_int8_t *buf, u_int len)
max_rssi = *(u_int8_t*)t;
t += 1;
- printf(", rssi %u/%u", rssi, max_rssi);
+ PRINTF(", rssi %u/%u", rssi, max_rssi);
}
#undef RADIOTAP