summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-10-08 22:23:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-10-08 22:23:58 +0000
commit2d65d7ba3f113ee5d7db9628e6837a5708701386 (patch)
tree2f5168b7bc70a0d315c954bd43f0aaa4d37ccdd0
parent98656283c1ca0d773ea8a9c798b0fbc0282cb1a2 (diff)
#ifndef DDB, correct a format string..
-rw-r--r--sys/arch/hppa/hppa/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/trap.c b/sys/arch/hppa/hppa/trap.c
index 476b2b97d1b..70128433ddf 100644
--- a/sys/arch/hppa/hppa/trap.c
+++ b/sys/arch/hppa/hppa/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.136 2014/07/07 19:01:26 miod Exp $ */
+/* $OpenBSD: trap.c,v 1.137 2014/10/08 22:23:57 deraadt Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -255,7 +255,7 @@ trap(int type, struct trapframe *frame)
}
#else
if (type == T_DATALIGN || type == T_DPROT)
- panic ("trap: %s at 0x%x", tts, va);
+ panic ("trap: %s at 0x%lx", tts, va);
else
panic ("trap: no debugger for \"%s\" (%d)", tts, type);
#endif