summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-08-07 00:13:10 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-08-07 00:13:10 +0000
commit327b342b96e585a8d91a4811578b95328b8aead2 (patch)
tree67cf4b8cecedcae795a5ee155bb318a9b4056fe5 /sys/arch/sparc64
parent27c6001792f5964052d46f76b792b533f7a789b2 (diff)
No "\n" needed at the end of panic() strings.
Some stragglers from last diff.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c4
-rw-r--r--sys/arch/sparc64/sparc64/trap.c16
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index b3bf765563d..b3693cf6d9d 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.107 2010/01/02 01:20:38 kettenis Exp $ */
+/* $OpenBSD: autoconf.c,v 1.108 2010/08/07 00:13:09 krw Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -684,7 +684,7 @@ sun4v_set_soft_state(int state, const char *desc)
return;
if (!pmap_extract(pmap_kernel(), (vaddr_t)desc, &pa))
- panic("sun4v_set_soft_state: pmap_extract failed\n");
+ panic("sun4v_set_soft_state: pmap_extract failed");
err = hv_soft_state_set(state, pa);
if (err != H_EOK)
diff --git a/sys/arch/sparc64/sparc64/trap.c b/sys/arch/sparc64/sparc64/trap.c
index 186224e40cc..873c9ea0e5e 100644
--- a/sys/arch/sparc64/sparc64/trap.c
+++ b/sys/arch/sparc64/sparc64/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.64 2009/01/20 21:22:31 kettenis Exp $ */
+/* $OpenBSD: trap.c,v 1.65 2010/08/07 00:13:09 krw Exp $ */
/* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */
/*
@@ -467,7 +467,7 @@ trap(tf, type, pc, tstate)
dopanic:
trap_trace_dis = 1;
- panic("trap type 0x%x (%s): pc=%lx npc=%lx pstate=%b\n",
+ panic("trap type 0x%x (%s): pc=%lx npc=%lx pstate=%b",
type, type < N_TRAP_TYPES ? trap_type[type] : T,
pc, (long)tf->tf_npc, pstate, PSTATE_BITS);
/* NOTREACHED */
@@ -925,7 +925,7 @@ kfault:
extern int trap_trace_dis;
trap_trace_dis = 1; /* Disable traptrace for printf */
(void) splhigh();
- panic("kernel data fault: pc=%lx addr=%lx\n",
+ panic("kernel data fault: pc=%lx addr=%lx",
pc, addr);
/* NOTREACHED */
}
@@ -1007,7 +1007,7 @@ data_access_error(tf, type, afva, afsr, sfva, sfsr)
trap_trace_dis = 1; /* Disable traptrace for printf */
(void) splhigh();
- panic("data fault: pc=%lx addr=%lx sfsr=%b\n",
+ panic("data fault: pc=%lx addr=%lx sfsr=%b",
(u_long)pc, (long)sfva, sfsr, SFSR_BITS);
/* NOTREACHED */
}
@@ -1073,7 +1073,7 @@ text_access_fault(tf, type, pc, sfsr)
extern int trap_trace_dis;
trap_trace_dis = 1; /* Disable traptrace for printf */
(void) splhigh();
- panic("kernel text_access_fault: pc=%lx va=%lx\n", pc, va);
+ panic("kernel text_access_fault: pc=%lx va=%lx", pc, va);
/* NOTREACHED */
} else
p->p_md.md_tf = tf;
@@ -1106,7 +1106,7 @@ text_access_fault(tf, type, pc, sfsr)
extern int trap_trace_dis;
trap_trace_dis = 1; /* Disable traptrace for printf */
(void) splhigh();
- panic("kernel text fault: pc=%llx\n", (unsigned long long)pc);
+ panic("kernel text fault: pc=%llx", (unsigned long long)pc);
/* NOTREACHED */
}
trapsignal(p, SIGSEGV, access_type, SEGV_MAPERR, sv);
@@ -1181,7 +1181,7 @@ text_access_error(tf, type, pc, sfsr, afva, afsr)
extern int trap_trace_dis;
trap_trace_dis = 1; /* Disable traptrace for printf */
(void) splhigh();
- panic("kernel text error: pc=%lx sfsr=%b\n", pc, sfsr, SFSR_BITS);
+ panic("kernel text error: pc=%lx sfsr=%b", pc, sfsr, SFSR_BITS);
/* NOTREACHED */
} else
p->p_md.md_tf = tf;
@@ -1215,7 +1215,7 @@ text_access_error(tf, type, pc, sfsr, afva, afsr)
extern int trap_trace_dis;
trap_trace_dis = 1; /* Disable traptrace for printf */
(void) splhigh();
- panic("kernel text error: pc=%lx sfsr=%b\n", pc,
+ panic("kernel text error: pc=%lx sfsr=%b", pc,
sfsr, SFSR_BITS);
/* NOTREACHED */
}