Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/pmap an_ref is now a uintptr_t.



details:   https://anonhg.NetBSD.org/src/rev/4dc68ba0b84e
branches:  trunk
changeset: 765981:4dc68ba0b84e
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jun 12 06:34:59 2011 +0000

description:
an_ref is now a uintptr_t.

diffstat:

 usr.bin/pmap/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7e666113075b -r 4dc68ba0b84e usr.bin/pmap/pmap.c
--- a/usr.bin/pmap/pmap.c       Sun Jun 12 06:10:41 2011 +0000
+++ b/usr.bin/pmap/pmap.c       Sun Jun 12 06:34:59 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.45 2009/12/14 17:16:12 uebayasi Exp $ */
+/*     $NetBSD: pmap.c,v 1.46 2011/06/12 06:34:59 mrg Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: pmap.c,v 1.45 2009/12/14 17:16:12 uebayasi Exp $");
+__RCSID("$NetBSD: pmap.c,v 1.46 2011/06/12 06:34:59 mrg Exp $");
 #endif
 
 #include <string.h>
@@ -659,7 +659,7 @@
                else
                        KDEREF(kd, anon);
 
-               printf(" = { an_ref = %d, an_page = %p, an_swslot = %d }",
+               printf(" = { an_ref = %"PRIuPTR", an_page = %p, an_swslot = %d }",
                    D(anon, anon)->an_ref, D(anon, anon)->an_page,
                    D(anon, anon)->an_swslot);
        }



Home | Main Index | Thread Index | Old Index