Module Name: src
Committed By: mrg
Date: Sun Jun 12 06:35:00 UTC 2011
Modified Files:
src/usr.bin/pmap: pmap.c
Log Message:
an_ref is now a uintptr_t.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.bin/pmap/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/pmap/pmap.c
diff -u src/usr.bin/pmap/pmap.c:1.45 src/usr.bin/pmap/pmap.c:1.46
--- src/usr.bin/pmap/pmap.c:1.45 Mon Dec 14 17:16:12 2009
+++ src/usr.bin/pmap/pmap.c Sun Jun 12 06:34:59 2011
@@ -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);
}