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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to