summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
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/powerpc
parent9ee95b4b405b050512cf782b508d774f4601a6b5 (diff)
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/pci/mpcpcibus.c4
-rw-r--r--sys/arch/powerpc/powerpc/machdep.c4
-rw-r--r--sys/arch/powerpc/powerpc/pmap.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/powerpc/pci/mpcpcibus.c b/sys/arch/powerpc/pci/mpcpcibus.c
index a3b4df2ce3f..69d3e43dc70 100644
--- a/sys/arch/powerpc/pci/mpcpcibus.c
+++ b/sys/arch/powerpc/pci/mpcpcibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpcpcibus.c,v 1.8 1998/08/25 08:20:23 pefo Exp $ */
+/* $OpenBSD: mpcpcibus.c,v 1.9 1999/01/11 05:11:53 millert Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -484,7 +484,7 @@ mpc_intr_establish(lcv, ih, level, func, arg, name)
char *name;
{
if (ih == 0 || ih >= ICU_LEN || ih == 2)
- panic("pci_intr_establish: bogus handle 0x%x\n", ih);
+ panic("pci_intr_establish: bogus handle 0x%x", ih);
return isabr_intr_establish(NULL, ih, IST_LEVEL, level, func, arg, name);
}
diff --git a/sys/arch/powerpc/powerpc/machdep.c b/sys/arch/powerpc/powerpc/machdep.c
index 30a6b4ad9ac..e6c147b3c57 100644
--- a/sys/arch/powerpc/powerpc/machdep.c
+++ b/sys/arch/powerpc/powerpc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.21 1999/01/07 23:16:06 deraadt Exp $ */
+/* $OpenBSD: machdep.c,v 1.22 1999/01/11 05:11:54 millert Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -884,7 +884,7 @@ ppc_intr_establish(lcv, ih, level, func, arg, name)
void *arg;
char *name;
{
- panic("ppc_intr_establish called before interrupt controller configured: driver %s\n", name);
+ panic("ppc_intr_establish called before interrupt controller configured: driver %s", name);
}
intr_establish_t *intr_establish_func = ppc_intr_establish;;
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c
index cc1f532e2a6..7b518d5b506 100644
--- a/sys/arch/powerpc/powerpc/pmap.c
+++ b/sys/arch/powerpc/powerpc/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.7 1998/08/22 18:32:00 rahnds Exp $ */
+/* $OpenBSD: pmap.c,v 1.8 1999/01/11 05:11:54 millert Exp $ */
/* $NetBSD: pmap.c,v 1.1 1996/09/30 16:34:52 ws Exp $ */
/*
@@ -929,7 +929,7 @@ pmap_remove_pv(pm, pteidx, va, pind, pte)
}
#ifdef DIAGNOSTIC
else
- panic("pmap_remove_pv: not on list\n");
+ panic("pmap_remove_pv: not on list");
#endif
}
}