Module Name: src Committed By: yamt Date: Tue Jul 26 13:18:55 UTC 2011
Modified Files: src/sys/miscfs/procfs: procfs_map.c Log Message: fix a botch in PRIxVADDR change (rev.1.38) To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/miscfs/procfs/procfs_map.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/miscfs/procfs/procfs_map.c diff -u src/sys/miscfs/procfs/procfs_map.c:1.39 src/sys/miscfs/procfs/procfs_map.c:1.40 --- src/sys/miscfs/procfs/procfs_map.c:1.39 Wed Sep 15 21:37:35 2010 +++ src/sys/miscfs/procfs/procfs_map.c Tue Jul 26 13:18:55 2011 @@ -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' : '-',