diff options
author | ticso <ticso@FreeBSD.org> | 2002-09-09 17:39:48 +0000 |
---|---|---|
committer | ticso <ticso@FreeBSD.org> | 2002-09-09 17:39:48 +0000 |
commit | ca81a711284366951f9977ce2d5d7b75192cd533 (patch) | |
tree | a000c66eec6d55619a1e82032e15943f65ca200c /sys/pci/if_xl.c | |
parent | 990d7cf43ea7779fe8dfd09f49b1bab42b11b286 (diff) | |
download | FreeBSD-src-ca81a711284366951f9977ce2d5d7b75192cd533.zip FreeBSD-src-ca81a711284366951f9977ce2d5d7b75192cd533.tar.gz |
add missing \n to printf
Approved by: gallatin (mentor)
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r-- | sys/pci/if_xl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |