From cc6ef1743d37011f08b8756fc2fb359631ecfaa1 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 26 Dec 1995 17:44:56 +0000 Subject: properly decl panic() --- sys/arch/mvme68k/stand/libsa/panic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch') 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]); } } -- cgit v1.2.3