summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-10-08 22:23:57 +0000
committerderaadt <deraadt@openbsd.org>2014-10-08 22:23:57 +0000
commitf705839e0b769ab43af87bba31ddbf1b6a9572d6 (patch)
tree6d261ac32ecd15aaa830ed3db5af297bcbdad45b
parentTweak config reparsing with host canonicalisation (diff)
downloadwireguard-openbsd-f705839e0b769ab43af87bba31ddbf1b6a9572d6.tar.xz
wireguard-openbsd-f705839e0b769ab43af87bba31ddbf1b6a9572d6.zip
#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