summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-26 17:44:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-26 17:44:56 +0000
commitcc6ef1743d37011f08b8756fc2fb359631ecfaa1 (patch)
tree510b4d475bc297b2f1808dc73fd310ed31e38bfa /sys
parent90fc0e7660a53b884c7eb6c4d8581aa881c587ae (diff)
properly decl panic()
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme68k/stand/libsa/panic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/stand/libsa/panic.c b/sys/arch/mvme68k/stand/libsa/panic.c
index 41dabf8fbf7..f7c83a6d8e7 100644
--- a/sys/arch/mvme68k/stand/libsa/panic.c
+++ b/sys/arch/mvme68k/stand/libsa/panic.c
@@ -5,7 +5,7 @@
extern volatile void abort();
extern int _estack[];
-volatile void
+__dead void
panic(const char *fmt, ...)
{
va_list ap;
@@ -25,7 +25,7 @@ stackdump(dummy)
printf("stackdump:\n");
for (ip = &dummy; ip < _estack; ip += 4) {
- printf("%08x: %08x %08x %08x %08x\n",
+ printf("%x: %x %x %x %x\n",
(int)ip, ip[0], ip[1], ip[2], ip[3]);
}
}