Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/procfs fix a botch in PRIxVADDR change (rev.1.38)



details:   https://anonhg.NetBSD.org/src/rev/c27e7c4a174e
branches:  trunk
changeset: 767666:c27e7c4a174e
user:      yamt <yamt%NetBSD.org@localhost>
date:      Tue Jul 26 13:18:55 2011 +0000

description:
fix a botch in PRIxVADDR change (rev.1.38)

diffstat:

 sys/miscfs/procfs/procfs_map.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 23c8bde2a353 -r c27e7c4a174e sys/miscfs/procfs/procfs_map.c
--- a/sys/miscfs/procfs/procfs_map.c    Tue Jul 26 13:14:17 2011 +0000
+++ b/sys/miscfs/procfs/procfs_map.c    Tue Jul 26 13:18:55 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: procfs_map.c,v 1.39 2010/09/15 21:37:35 jym Exp $      */
+/*     $NetBSD: procfs_map.c,v 1.40 2011/07/26 13:18:55 yamt Exp $     */
 
 /*
  * Copyright (c) 1993
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_map.c,v 1.39 2010/09/15 21:37:35 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_map.c,v 1.40 2011/07/26 13:18:55 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -185,7 +185,7 @@
                            (unsigned long long)minor(dev), fileid, path);
                } else {
                        pos += snprintf(buffer + pos, bufsize - pos,
-                           "%#"PRIxVADDR"x %#"PRIxVADDR"x "
+                           "%#"PRIxVADDR" %#"PRIxVADDR" "
                            "%c%c%c %c%c%c %s %s %d %d %d\n",
                            entry->start, entry->end,
                            (entry->protection & VM_PROT_READ) ? 'r' : '-',



Home | Main Index | Thread Index | Old Index