diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-18 02:43:28 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2005-07-18 02:43:28 +0000 |
commit | 1da0eb00b64cf96fafeda15abecc0ea97c01cfc7 (patch) | |
tree | 07ce3426901e09feb49ab2c3174d982a7fc02646 /sys/dev/ic/rtw.c | |
parent | d682261e1331abf1c2f9fa2d157d5b8f51360fdd (diff) |
remove trailing newline in panic(9); ok millert@ and deraadt@
Diffstat (limited to 'sys/dev/ic/rtw.c')
-rw-r--r-- | sys/dev/ic/rtw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c index a51c66418b2..2bd416e20dd 100644 --- a/sys/dev/ic/rtw.c +++ b/sys/dev/ic/rtw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtw.c,v 1.34 2005/06/15 01:33:50 jsg Exp $ */ +/* $OpenBSD: rtw.c,v 1.35 2005/07/18 02:43:27 fgsch Exp $ */ /* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */ /*- @@ -1284,7 +1284,7 @@ rtw_intr_rx(struct rtw_softc *sc, u_int16_t isr) goto next; default: /* XXX shorten rx ring, instead? */ - panic("%s: could not load DMA map\n", + panic("%s: could not load DMA map", sc->sc_dev.dv_xname); } @@ -2059,7 +2059,7 @@ rtw_tune(struct rtw_softc *sc) chan = ieee80211_chan2ieee(ic, ic->ic_bss->ni_chan); if (chan == IEEE80211_CHAN_ANY) - panic("%s: chan == IEEE80211_CHAN_ANY\n", __func__); + panic("%s: chan == IEEE80211_CHAN_ANY", __func__); if (chan == sc->sc_cur_chan) { RTW_DPRINTF(RTW_DEBUG_TUNE, @@ -3169,7 +3169,7 @@ rtw_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) switch (nstate) { case IEEE80211_S_INIT: - panic("%s: unexpected state IEEE80211_S_INIT\n", __func__); + panic("%s: unexpected state IEEE80211_S_INIT", __func__); break; case IEEE80211_S_SCAN: if (ostate != IEEE80211_S_SCAN) { |