Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/procfs gimpy invented PRIxVADDR format specifier.
details: https://anonhg.NetBSD.org/src/rev/3db4694367f8
branches: trunk
changeset: 750035:3db4694367f8
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Mon Dec 14 13:00:07 2009 +0000
description:
gimpy invented PRIxVADDR format specifier.
diffstat:
sys/miscfs/procfs/procfs_map.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ac99b98ad79d -r 3db4694367f8 sys/miscfs/procfs/procfs_map.c
--- a/sys/miscfs/procfs/procfs_map.c Mon Dec 14 12:53:18 2009 +0000
+++ b/sys/miscfs/procfs/procfs_map.c Mon Dec 14 13:00:07 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_map.c,v 1.37 2009/01/11 02:45:53 christos Exp $ */
+/* $NetBSD: procfs_map.c,v 1.38 2009/12/14 13:00:07 uebayasi Exp $ */
/*
* Copyright (c) 1993
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_map.c,v 1.37 2009/01/11 02:45:53 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_map.c,v 1.38 2009/12/14 13:00:07 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -184,7 +184,7 @@
(unsigned long long)minor(dev), fileid, path);
} else {
pos += snprintf(buffer + pos, bufsize - pos,
- "0x%lx 0x%lx %c%c%c %c%c%c %s %s %d %d %d\n",
+ "0x%"PRIxVADDR"x 0x%"PRIxVADDR"x %c%c%c %c%c%c %s %s %d %d %d\n",
entry->start, entry->end,
(entry->protection & VM_PROT_READ) ? 'r' : '-',
(entry->protection & VM_PROT_WRITE) ? 'w' : '-',
Home |
Main Index |
Thread Index |
Old Index