summaryrefslogtreecommitdiff
path: root/usr.sbin/hostapd/print-802_11.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-06-01 22:09:10 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-06-01 22:09:10 +0000
commit4976ffff1518a20fedec8f8c516f033a1ffa623a (patch)
treedf698892ef89f0483e614bfed03ff59dc8295df9 /usr.sbin/hostapd/print-802_11.c
parent682104df00ffc0a93adaf6c10985636d0c790d71 (diff)
don't use the newline character in hostapd_log() calls
Diffstat (limited to 'usr.sbin/hostapd/print-802_11.c')
-rw-r--r--usr.sbin/hostapd/print-802_11.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/hostapd/print-802_11.c b/usr.sbin/hostapd/print-802_11.c
index 52fc4b34b50..0c35d4171d2 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.3 2006/05/15 16:07:33 reyk Exp $ */
+/* $OpenBSD: print-802_11.c,v 1.4 2006/06/01 22:09:09 reyk Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -441,7 +441,7 @@ ieee802_11_if_print(u_int8_t *buf, u_int len)
if (ieee80211_print(wh) != 0)
PRINTF("[|802.11]");
- PRINTF("\n");
+ PRINTF(NULL);
}
void
@@ -460,7 +460,7 @@ ieee802_11_radio_if_print(u_int8_t *buf, u_int len)
rh_len = letoh16(rh->it_len);
if (rh->it_version != 0) {
- PRINTF("[?radiotap + 802.11 v:%u]\n", rh->it_version);
+ PRINTF("[?radiotap + 802.11 v:%u]", rh->it_version);
goto out;
}
@@ -628,7 +628,7 @@ ieee802_11_radio_if_print(u_int8_t *buf, u_int len)
PRINTF("[|radiotap + 802.11]");
out:
- PRINTF("\n");
+ PRINTF(NULL);
}
void