Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Fix printf format (see PR#8358).



details:   https://anonhg.NetBSD.org/src/rev/e4a25a172850
branches:  trunk
changeset: 476236:e4a25a172850
user:      pk <pk%NetBSD.org@localhost>
date:      Fri Sep 10 08:42:58 1999 +0000

description:
Fix printf format (see PR#8358).

diffstat:

 sys/arch/sparc/sparc/pmap.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 524c6824a286 -r e4a25a172850 sys/arch/sparc/sparc/pmap.c
--- a/sys/arch/sparc/sparc/pmap.c       Fri Sep 10 07:43:00 1999 +0000
+++ b/sys/arch/sparc/sparc/pmap.c       Fri Sep 10 08:42:58 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.149 1999/07/08 18:08:59 thorpej Exp $ */
+/*     $NetBSD: pmap.c,v 1.150 1999/09/10 08:42:58 pk Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -1718,8 +1718,9 @@
 
        rp = &pm->pm_regmap[vr];
 #ifdef DEBUG
-if (pm == pmap_kernel())
-printf("mmu_pagein: kernel wants map at va 0x%x, vr %d, vs %d\n", va, vr, vs);
+       if (pm == pmap_kernel())
+       printf("mmu_pagein: kernel wants map at va 0x%lx, vr %d, vs %d\n",
+               (u_long)va, vr, vs);
 #endif
 #if 0
 #if defined(SUN4_MMU3L)



Home | Main Index | Thread Index | Old Index