summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/trap.c
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>1998-12-06 00:03:30 +0000
committerarchie <archie@FreeBSD.org>1998-12-06 00:03:30 +0000
commit5c694b81cdfca73fc0ff31aad7fb405d6157f6dc (patch)
tree0bbad1faff81daf0f8952c9fb9d7df615b9048d6 /sys/amd64/amd64/trap.c
parent86adb3351d508cdea5f732e6b90ec7663e1ef1b8 (diff)
downloadFreeBSD-src-5c694b81cdfca73fc0ff31aad7fb405d6157f6dc.zip
FreeBSD-src-5c694b81cdfca73fc0ff31aad7fb405d6157f6dc.tar.gz
Avoid compiler warning (printf arg type mismatch) when compiling #ifdef DEBUG
Diffstat (limited to 'sys/amd64/amd64/trap.c')
-rw-r--r--sys/amd64/amd64/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 748b9b7..e56286a 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
- * $Id: trap.c,v 1.128 1998/08/23 10:16:26 bde Exp $
+ * $Id: trap.c,v 1.129 1998/12/02 08:15:16 kato Exp $
*/
/*
@@ -593,7 +593,7 @@ kernel_trap:
uprintf("fatal process exception: %s",
trap_msg[type]);
if ((type == T_PAGEFLT) || (type == T_PROTFLT))
- uprintf(", fault VA = 0x%lx", eva);
+ uprintf(", fault VA = 0x%lx", (u_long)eva);
uprintf("\n");
}
#endif
OpenPOWER on IntegriCloud