Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/hppa Remove a cast by fixing a printf format.



details:   https://anonhg.NetBSD.org/src/rev/f10971bde603
branches:  trunk
changeset: 751996:f10971bde603
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Feb 10 20:52:35 2010 +0000

description:
Remove a cast by fixing a printf format.

diffstat:

 sys/arch/hppa/hppa/trap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 8b00dd94cce6 -r f10971bde603 sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Wed Feb 10 20:51:23 2010 +0000
+++ b/sys/arch/hppa/hppa/trap.c Wed Feb 10 20:52:35 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.74 2010/02/10 20:51:23 skrll Exp $  */
+/*     $NetBSD: trap.c,v 1.75 2010/02/10 20:52:35 skrll Exp $  */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.74 2010/02/10 20:51:23 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.75 2010/02/10 20:52:35 skrll Exp $");
 
 /* #define INTRDEBUG */
 /* #define TRAPDEBUG */
@@ -573,8 +573,8 @@
 
 #ifdef TRAPDEBUG
        if (trapnum != T_INTERRUPT && trapnum != T_IBREAK)
-               printf("trap: %d, %s for %x:%x at %x:%x, fp=%p, rp=%x\n",
-                   type, tts, space, (u_int)va, frame->tf_iisq_head,
+               printf("trap: %d, %s for %x:%lx at %x:%x, fp=%p, rp=%x\n",
+                   type, tts, space, va, frame->tf_iisq_head,
                    frame->tf_iioq_head, frame, frame->tf_rp);
        else if (trapnum == T_IBREAK)
                printf("trap: break instruction %x:%x at %x:%x, fp=%p\n",



Home | Main Index | Thread Index | Old Index