diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-12 00:50:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-10-12 00:50:44 +0000 |
commit | 07e8f43ea366c39f3c75312fca3049f6c9089ab3 (patch) | |
tree | 3c641da781ceb4391be67a882ff52c97406cf55a | |
parent | 21bca8f77f4a0b76385b34dd701f84774541b996 (diff) |
correct diag messages
-rw-r--r-- | sys/arch/arc/dev/if_sn.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/arc/dev/if_sn.c b/sys/arch/arc/dev/if_sn.c index f95487b2b44..f15ba5814a2 100644 --- a/sys/arch/arc/dev/if_sn.c +++ b/sys/arch/arc/dev/if_sn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sn.c,v 1.5 1996/09/30 14:36:46 pefo Exp $ */ +/* $OpenBSD: if_sn.c,v 1.6 1996/10/12 00:50:43 deraadt Exp $ */ /* * National Semiconductor SONIC Driver * Copyright (c) 1991 Algorithmics Ltd (http://www.algor.co.uk) @@ -616,11 +616,11 @@ snwatchdog(ifp) if (mtdhead && mtdhead->mtd_mbuf) { /* something still pending for transmit */ if (mtdhead->mtd_txp->status == 0) - log(LOG_ERR, "%s%d: Tx - timeout\n", - sc->sc_if.if_xname, sc->sc_if.if_softc); + log(LOG_ERR, "%s: Tx - timeout\n", + sc->sc_if.if_xname); else - log(LOG_ERR, "%s%d: Tx - lost interrupt\n", - sc->sc_if.if_xname, sc->sc_if.if_softc); + log(LOG_ERR, "%s: Tx - lost interrupt\n", + sc->sc_if.if_xname); temp = sc->sc_if.if_flags & IFF_UP; snreset(sc); sc->sc_if.if_flags |= temp; @@ -711,8 +711,8 @@ sonicput(sc, m0) if (fr > FRAGMAX) { mtd_free(mtdnew); m_freem(m0); - log(LOG_ERR, "%s%d: tx too many fragments %d\n", - sc->sc_if.if_xname, sc->sc_if.if_softc, fr); + log(LOG_ERR, "%s: tx too many fragments %d\n", + sc->sc_if.if_xname, fr); sc->sc_if.if_oerrors++; return (len); } |