an_ref is now a uintptr_t.

This commit is contained in:
mrg 2011-06-12 06:34:59 +00:00
parent 679d8a847c
commit 08d84f24b2
1 changed files with 3 additions and 3 deletions

View File

@ -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 @@ dump_vm_anon(kvm_t *kd, struct vm_anon **alist, int i)
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);
}