summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/stand
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sun3/stand')
-rw-r--r--sys/arch/sun3/stand/libsa/netif_sun.c8
-rw-r--r--sys/arch/sun3/stand/libsa/promdev.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sun3/stand/libsa/netif_sun.c b/sys/arch/sun3/stand/libsa/netif_sun.c
index a72d55e9428..bc7a5993cc7 100644
--- a/sys/arch/sun3/stand/libsa/netif_sun.c
+++ b/sys/arch/sun3/stand/libsa/netif_sun.c
@@ -164,7 +164,7 @@ netif_init(aux)
}
if ((dd->rbuf == NULL) ||
(dd->tbuf == NULL))
- panic("netif_init: malloc failed\n");
+ panic("netif_init: malloc failed");
#ifdef NETIF_DEBUG
if (debug)
@@ -339,7 +339,7 @@ netif_put(desc, pkt, len)
#ifdef PARANOID
if (sif == NULL)
- panic("netif_put: no saif ptr\n");
+ panic("netif_put: no saif ptr");
#endif
/*
@@ -349,7 +349,7 @@ netif_put(desc, pkt, len)
* very much data anyway, so the copy is fine.
*/
if (slen > dd->tbuf_len)
- panic("netif_put: slen=%d\n", slen);
+ panic("netif_put: slen=%d", slen);
bcopy(pkt, dd->tbuf, slen);
if (slen < 60) {
@@ -429,7 +429,7 @@ break2:
/* If we went beyond our buffer, were dead! */
if (rlen > dd->rbuf_len)
- panic("netif_get: rlen=%d\n", rlen);
+ panic("netif_get: rlen=%d", rlen);
/* The caller's buffer may be smaller... */
if (rlen > maxlen)
diff --git a/sys/arch/sun3/stand/libsa/promdev.c b/sys/arch/sun3/stand/libsa/promdev.c
index 5ce7ee01fb9..f3982b8aaf3 100644
--- a/sys/arch/sun3/stand/libsa/promdev.c
+++ b/sys/arch/sun3/stand/libsa/promdev.c
@@ -200,12 +200,12 @@ prom_mapin(physaddr, length, maptype)
int i, pa, pte, va;
if (length > (4*NBPG))
- panic("prom_mapin: length=%d\n", length);
+ panic("prom_mapin: length=%d", length);
for (i = 0; i < prom_mapinfo_cnt; i++)
if (prom_mapinfo[i].maptype == maptype)
goto found;
- panic("prom_mapin: invalid maptype %d\n", maptype);
+ panic("prom_mapin: invalid maptype %d", maptype);
found:
pte = prom_mapinfo[i].pgtype;