diff options
author | reyk <reyk@openbsd.org> | 2006-06-26 23:06:07 +0000 |
---|---|---|
committer | reyk <reyk@openbsd.org> | 2006-06-26 23:06:07 +0000 |
commit | 9aa8b2e1ef228934f4513f644a2ff6c30fa46f41 (patch) | |
tree | 92dabc4aee6ffbd74d8742df7e60dccde84bd6d4 /usr.sbin/hostapd | |
parent | enable mpi (diff) | |
download | wireguard-openbsd-9aa8b2e1ef228934f4513f644a2ff6c30fa46f41.tar.xz wireguard-openbsd-9aa8b2e1ef228934f4513f644a2ff6c30fa46f41.zip |
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.c | 4 |
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 |