summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev/if_ie.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 05:12:41 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-11 05:12:41 +0000
commitb3067fd524234e263e58b215d0fb24d414bf1c34 (patch)
tree5c1576265dded5700ab387af81051fabd39f3396 /sys/arch/sun3/dev/if_ie.c
parent9ee95b4b405b050512cf782b508d774f4601a6b5 (diff)
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/arch/sun3/dev/if_ie.c')
-rw-r--r--sys/arch/sun3/dev/if_ie.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sun3/dev/if_ie.c b/sys/arch/sun3/dev/if_ie.c
index 0bbe7729481..34651d5d4e8 100644
--- a/sys/arch/sun3/dev/if_ie.c
+++ b/sys/arch/sun3/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.9 1997/01/16 04:03:46 kstailey Exp $ */
+/* $OpenBSD: if_ie.c,v 1.10 1999/01/11 05:12:01 millert Exp $ */
/* $NetBSD: if_ie.c,v 1.15 1996/10/30 00:24:33 gwr Exp $ */
/*-
@@ -1174,7 +1174,7 @@ iereset(sc)
#ifdef notdef
if (!check_ie_present(sc, sc->sc_maddr, sc->sc_msize))
- panic("ie disappeared!\n");
+ panic("ie disappeared!");
#endif
sc->sc_arpcom.ac_if.if_flags |= IFF_UP;
@@ -1345,7 +1345,7 @@ setup_bufs(sc)
sc->nframes = n / r;
if (sc->nframes <= 0)
- panic("ie: bogus buffer calc\n");
+ panic("ie: bogus buffer calc");
if (sc->nframes > MXFRAMES)
sc->nframes = MXFRAMES;