summaryrefslogtreecommitdiff
path: root/sys/arch/arc
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/arc
parent9ee95b4b405b050512cf782b508d774f4601a6b5 (diff)
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/arch/arc')
-rw-r--r--sys/arch/arc/algor/algorbus.c4
-rw-r--r--sys/arch/arc/dev/if_sn.c4
-rw-r--r--sys/arch/arc/pica/picabus.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/arc/algor/algorbus.c b/sys/arch/arc/algor/algorbus.c
index b3dda7ae362..bcf53ac9323 100644
--- a/sys/arch/arc/algor/algorbus.c
+++ b/sys/arch/arc/algor/algorbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: algorbus.c,v 1.5 1998/03/16 09:38:25 pefo Exp $ */
+/* $OpenBSD: algorbus.c,v 1.6 1999/01/11 05:11:09 millert Exp $ */
/*
* Copyright (c) 1996, 1997, 1998 Per Fogelstrom, Opsycon AB
@@ -398,7 +398,7 @@ int
algor_intrnull(val)
void *val;
{
- panic("uncaught ALGOR intr for slot %d\n", val);
+ panic("uncaught ALGOR intr for slot %d", val);
}
/*
diff --git a/sys/arch/arc/dev/if_sn.c b/sys/arch/arc/dev/if_sn.c
index d418ff3624c..0028e297a33 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.10 1997/08/02 09:14:13 deraadt Exp $ */
+/* $OpenBSD: if_sn.c,v 1.11 1999/01/11 05:11:09 millert Exp $ */
/*
* National Semiconductor SONIC Driver
* Copyright (c) 1991 Algorithmics Ltd (http://www.algor.co.uk)
@@ -821,7 +821,7 @@ camprogram(sc)
continue;
if (timeout == 0) {
/* XXX */
- panic("sonic: CAM initialisation failed\n");
+ panic("sonic: CAM initialisation failed");
}
timeout = 10000;
while ((csr->s_isr & ISR_LCD) == 0 && timeout--)
diff --git a/sys/arch/arc/pica/picabus.c b/sys/arch/arc/pica/picabus.c
index 48a4e69b5b8..2c2eb8442d6 100644
--- a/sys/arch/arc/pica/picabus.c
+++ b/sys/arch/arc/pica/picabus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: picabus.c,v 1.10 1998/03/16 09:38:52 pefo Exp $ */
+/* $OpenBSD: picabus.c,v 1.11 1999/01/11 05:11:10 millert Exp $ */
/* $NetBSD: tc.c,v 1.2 1995/03/08 00:39:05 cgd Exp $ */
/*
@@ -278,7 +278,7 @@ int
pica_intrnull(val)
void *val;
{
- panic("uncaught PICA intr for slot %d\n", val);
+ panic("uncaught PICA intr for slot %d", val);
}
/*