summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorticso <ticso@FreeBSD.org>2002-09-09 17:39:48 +0000
committerticso <ticso@FreeBSD.org>2002-09-09 17:39:48 +0000
commitca81a711284366951f9977ce2d5d7b75192cd533 (patch)
treea000c66eec6d55619a1e82032e15943f65ca200c /sys/pci
parent990d7cf43ea7779fe8dfd09f49b1bab42b11b286 (diff)
downloadFreeBSD-src-ca81a711284366951f9977ce2d5d7b75192cd533.zip
FreeBSD-src-ca81a711284366951f9977ce2d5d7b75192cd533.tar.gz
add missing \n to printf
Approved by: gallatin (mentor)
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_sf.c4
-rw-r--r--sys/pci/if_ste.c2
-rw-r--r--sys/pci/if_xl.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index 358507c..f5df991 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -1316,7 +1316,7 @@ sf_encap(sc, c, m_head)
MGETHDR(m_new, M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
- printf("sf%d: no memory for tx list", sc->sf_unit);
+ printf("sf%d: no memory for tx list\n", sc->sf_unit);
return(1);
}
@@ -1324,7 +1324,7 @@ sf_encap(sc, c, m_head)
MCLGET(m_new, M_DONTWAIT);
if (!(m_new->m_flags & M_EXT)) {
m_freem(m_new);
- printf("sf%d: no memory for tx list",
+ printf("sf%d: no memory for tx list\n",
sc->sf_unit);
return(1);
}
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index f57e9c8..c236f68 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -727,7 +727,7 @@ ste_rxeof(sc)
* If not, something truly strange has happened.
*/
if (!(rxstat & STE_RXSTAT_DMADONE)) {
- printf("ste%d: bad receive status -- packet dropped",
+ printf("ste%d: bad receive status -- packet dropped\n",
sc->ste_unit);
ifp->if_ierrors++;
cur_rx->ste_ptr->ste_status = 0;
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index a577ec1..b86313b 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -1891,7 +1891,7 @@ again:
*/
if (!(rxstat & XL_RXSTAT_UP_CMPLT)) {
printf("xl%d: bad receive status -- "
- "packet dropped", sc->xl_unit);
+ "packet dropped\n", sc->xl_unit);
ifp->if_ierrors++;
cur_rx->xl_ptr->xl_status = 0;
continue;
@@ -2286,14 +2286,14 @@ xl_encap(sc, c, m_head)
MGETHDR(m_new, M_DONTWAIT, MT_DATA);
if (m_new == NULL) {
- printf("xl%d: no memory for tx list", sc->xl_unit);
+ printf("xl%d: no memory for tx list\n", sc->xl_unit);
return(1);
}
if (m_head->m_pkthdr.len > MHLEN) {
MCLGET(m_new, M_DONTWAIT);
if (!(m_new->m_flags & M_EXT)) {
m_freem(m_new);
- printf("xl%d: no memory for tx list",
+ printf("xl%d: no memory for tx list\n",
sc->xl_unit);
return(1);
}
OpenPOWER on IntegriCloud