diff options
author | archie <archie@FreeBSD.org> | 1998-12-06 00:03:30 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1998-12-06 00:03:30 +0000 |
commit | 5c694b81cdfca73fc0ff31aad7fb405d6157f6dc (patch) | |
tree | 0bbad1faff81daf0f8952c9fb9d7df615b9048d6 /sys/kern/subr_trap.c | |
parent | 86adb3351d508cdea5f732e6b90ec7663e1ef1b8 (diff) | |
download | FreeBSD-src-5c694b81cdfca73fc0ff31aad7fb405d6157f6dc.zip FreeBSD-src-5c694b81cdfca73fc0ff31aad7fb405d6157f6dc.tar.gz |
Avoid compiler warning (printf arg type mismatch) when compiling #ifdef DEBUG
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 748b9b7..e56286a 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_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 |