Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/regress/sys/uvm/mmap Fix format string
details: https://anonhg.NetBSD.org/src/rev/332aefc5c9e2
branches: trunk
changeset: 765361:332aefc5c9e2
user: joerg <joerg%NetBSD.org@localhost>
date: Tue May 24 16:11:08 2011 +0000
description:
Fix format string
diffstat:
regress/sys/uvm/mmap/mmap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 4eb2883d760d -r 332aefc5c9e2 regress/sys/uvm/mmap/mmap.c
--- a/regress/sys/uvm/mmap/mmap.c Tue May 24 16:04:14 2011 +0000
+++ b/regress/sys/uvm/mmap/mmap.c Tue May 24 16:11:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mmap.c,v 1.18 2008/04/28 20:23:07 martin Exp $ */
+/* $NetBSD: mmap.c,v 1.19 2011/05/24 16:11:08 joerg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -433,7 +433,7 @@
if (vec[i] != 0)
resident++;
if (verbose)
- printf("page 0x%lx is %sresident\n",
+ printf("page 0x%p is %sresident\n",
addr + (i * pgsize), vec[i] ? "" : "not ");
}
Home |
Main Index |
Thread Index |
Old Index