Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Use a format string.
details: https://anonhg.NetBSD.org/src/rev/3ef7be0fc262
branches: trunk
changeset: 326838:3ef7be0fc262
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Feb 20 01:40:42 2014 +0000
description:
Use a format string.
diffstat:
sys/arch/sparc64/sparc64/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ed5e9c93a7b8 -r 3ef7be0fc262 sys/arch/sparc64/sparc64/trap.c
--- a/sys/arch/sparc64/sparc64/trap.c Thu Feb 20 01:24:49 2014 +0000
+++ b/sys/arch/sparc64/sparc64/trap.c Thu Feb 20 01:40:42 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.179 2013/09/15 14:49:50 martin Exp $ */
+/* $NetBSD: trap.c,v 1.180 2014/02/20 01:40:42 joerg Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath. All rights reserved.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.179 2013/09/15 14:49:50 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.180 2014/02/20 01:40:42 joerg Exp $");
#include "opt_ddb.h"
#include "opt_multiprocessor.h"
@@ -577,7 +577,7 @@
printf(" npc=%lx pstate=%s\n",
(long)tf->tf_npc, sb);
DEBUGGER(type, tf);
- panic(type < N_TRAP_TYPES ? trap_type[type] : T);
+ panic("%s", type < N_TRAP_TYPES ? trap_type[type] : T);
}
/* NOTREACHED */
}
Home |
Main Index |
Thread Index |
Old Index