artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33b680d
)
use string literal for format string
author
jsg
<jsg@openbsd.org>
Fri, 12 Aug 2022 08:31:06 +0000
(08:31 +0000)
committer
jsg
<jsg@openbsd.org>
Fri, 12 Aug 2022 08:31:06 +0000
(08:31 +0000)
ok miod@
sys/arch/m88k/m88k/trap.c
patch
|
blob
|
history
diff --git
a/sys/arch/m88k/m88k/trap.c
b/sys/arch/m88k/m88k/trap.c
index
ee542f3
..
b1956c8
100644
(file)
--- a/
sys/arch/m88k/m88k/trap.c
+++ b/
sys/arch/m88k/m88k/trap.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: trap.c,v 1.12
1 2022/08/02 20:15:28 miod Exp $
*/
+/* $OpenBSD: trap.c,v 1.12
2 2022/08/12 08:31:06 jsg Exp $
*/
/*
* Copyright (c) 2004, Miodrag Vallat.
* Copyright (c) 1998 Steve Murphree, Jr.
@@
-156,7
+156,7
@@
panictrap(int type, struct trapframe *frame)
if (panicing++ == 0)
printtrap(type, frame);
if ((u_int)type < trap_types)
- panic(trap_type[type]);
+ panic(
"%s",
trap_type[type]);
else
panic("trap %d", type);
/*NOTREACHED*/