svn commit: r232705 - head/sys/net80211

Adrian Chadd adrian at FreeBSD.org
Thu Mar 8 23:46:43 UTC 2012


Author: adrian
Date: Thu Mar  8 23:46:42 2012
New Revision: 232705
URL: http://svn.freebsd.org/changeset/base/232705

Log:
  Add missing \n's.
  
  This showed up when testing the wtap module, as it attaches with
  no radiotap tx/rx configuration.

Modified:
  head/sys/net80211/ieee80211_radiotap.c

Modified: head/sys/net80211/ieee80211_radiotap.c
==============================================================================
--- head/sys/net80211/ieee80211_radiotap.c	Thu Mar  8 21:09:34 2012	(r232704)
+++ head/sys/net80211/ieee80211_radiotap.c	Thu Mar  8 23:46:42 2012	(r232705)
@@ -67,7 +67,7 @@ ieee80211_radiotap_attach(struct ieee802
 	else if (tx_radiotap & B(IEEE80211_RADIOTAP_XCHANNEL))
 		off = radiotap_offset(th, IEEE80211_RADIOTAP_XCHANNEL);
 	if (off == -1) {
-		if_printf(ic->ic_ifp, "%s: no tx channel, radiotap 0x%x",
+		if_printf(ic->ic_ifp, "%s: no tx channel, radiotap 0x%x\n",
 		    __func__, tx_radiotap);
 		/* NB: we handle this case but data will have no chan spec */
 	} else
@@ -83,7 +83,7 @@ ieee80211_radiotap_attach(struct ieee802
 	else if (rx_radiotap & B(IEEE80211_RADIOTAP_XCHANNEL))
 		off = radiotap_offset(rh, IEEE80211_RADIOTAP_XCHANNEL);
 	if (off == -1) {
-		if_printf(ic->ic_ifp, "%s: no rx channel, radiotap 0x%x",
+		if_printf(ic->ic_ifp, "%s: no rx channel, radiotap 0x%x\n",
 		    __func__, rx_radiotap);
 		/* NB: we handle this case but data will have no chan spec */
 	} else


More information about the svn-src-head mailing list