summaryrefslogtreecommitdiff
path: root/sys/arch/mips64/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-04-09 21:10:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-04-09 21:10:36 +0000
commit4799b8ee9f1e55dc9dabeae39c883d40b5fd93e7 (patch)
treecd5c39bcef766c2b1d9ef4742dfe02956e3777d5 /sys/arch/mips64/include
parent7fe20220626c1c4fdde7fdcfbdca140a646a787c (diff)
Make trapDump() take the printf-like function as a 2nd parameter.
No functional change; helps non-released kernels with extra debugging code (-:
Diffstat (limited to 'sys/arch/mips64/include')
-rw-r--r--sys/arch/mips64/include/trap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mips64/include/trap.h b/sys/arch/mips64/include/trap.h
index 9213df4d738..4e087910aa2 100644
--- a/sys/arch/mips64/include/trap.h
+++ b/sys/arch/mips64/include/trap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.h,v 1.15 2012/09/29 19:24:31 miod Exp $ */
+/* $OpenBSD: trap.h,v 1.16 2014/04/09 21:10:34 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -118,7 +118,7 @@ do { \
extern struct trapdebug trapdebug[MAXCPUS * TRAPSIZE];
extern uint trppos[MAXCPUS];
-void trapDump(const char *msg);
+void trapDump(const char *, int (*)(const char *, ...));
#else
#define trapdebug_enter(ci, frame, code)