mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 01:34:09 +00:00
Avoid compiler warning (printf arg type mismatch) when compiling #ifdef DEBUG
This commit is contained in:
parent
c7f682db21
commit
2326715f79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41547
|
@ -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 @@ trap(frame)
|
|||
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
|
||||
|
|
|
@ -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 @@ trap(frame)
|
|||
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
|
||||
|
|
|
@ -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 @@ trap(frame)
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue