Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc panic takes a format string.
details: https://anonhg.NetBSD.org/src/rev/739548cd10e7
branches: trunk
changeset: 340831:739548cd10e7
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Oct 04 08:19:40 2015 +0000
description:
panic takes a format string.
diffstat:
sys/arch/sparc/sparc/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b5077bcd9737 -r 739548cd10e7 sys/arch/sparc/sparc/trap.c
--- a/sys/arch/sparc/sparc/trap.c Sun Oct 04 08:19:13 2015 +0000
+++ b/sys/arch/sparc/sparc/trap.c Sun Oct 04 08:19:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.192 2015/03/02 13:53:19 martin Exp $ */
+/* $NetBSD: trap.c,v 1.193 2015/10/04 08:19:40 joerg Exp $ */
/*
* Copyright (c) 1996
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.192 2015/03/02 13:53:19 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.193 2015/10/04 08:19:40 joerg Exp $");
#include "opt_ddb.h"
#include "opt_compat_svr4.h"
@@ -296,7 +296,7 @@
write_all_windows();
(void) kdb_trap(type, tf);
#endif
- panic(type < N_TRAP_TYPES ? trap_type[type] : T);
+ panic("%s", type < N_TRAP_TYPES ? trap_type[type] : T);
/* NOTREACHED */
}
if ((l = curlwp) == NULL)
Home |
Main Index |
Thread Index |
Old Index