summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/tc/tc.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/pmax/tc/tc.c
parent9ee95b4b405b050512cf782b508d774f4601a6b5 (diff)
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/arch/pmax/tc/tc.c')
-rw-r--r--sys/arch/pmax/tc/tc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/pmax/tc/tc.c b/sys/arch/pmax/tc/tc.c
index 8a0654b7995..acd4c69d074 100644
--- a/sys/arch/pmax/tc/tc.c
+++ b/sys/arch/pmax/tc/tc.c
@@ -167,7 +167,7 @@ cpu_tcdesc(cpu)
printf("tcattach: Mipsfair (5100), no turbochannel\n");
return NULL;
} else {
- panic("cpu_tc: Unrecognized bus type 0x%x\n", cpu);
+ panic("cpu_tc: Unrecognized bus type 0x%x", cpu);
}
}
@@ -309,7 +309,7 @@ tc_ds_intr_establish(dev, cookie, level, handler, val)
#ifdef DIAGNOSTIC
if (tc_enable_interrupt == NULL)
- panic("tc_intr_establish: tc_enable not set\n");
+ panic("tc_intr_establish: tc_enable not set");
#endif
#ifdef DEBUG