Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2012 23:46:43 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232705 - head/sys/net80211
Message-ID:  <201203082346.q28NkhCL069888@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203082346.q28NkhCL069888>