summaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-27 10:23:58 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-08-27 20:01:33 +0200
commitf5ef68da5fda5e095b585ea5ecdd42af3c8695f7 (patch)
tree6ceabca67d61c1419daa1a407b45bdf1268bac09 /fs/proc
parent[PATCH] fix up lockdep trace in fs/exec.c (diff)
downloadlinux-f5ef68da5fda5e095b585ea5ecdd42af3c8695f7.tar.xz
linux-f5ef68da5fda5e095b585ea5ecdd42af3c8695f7.zip
[PATCH] /proc/meminfo: don't put spaces in names
None of the other /proc/meminfo lines have a space in the identifier. This post-2.6.17 addition has the potential to break existing parsers, so use an underscore instead (like Committed_AS). Cc: Christoph Lameter <clameter@engr.sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/proc_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index 9f2cfc30f9cf..942156225447 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -169,7 +169,7 @@ static int meminfo_read_proc(char *page, char **start, off_t off,
"Mapped: %8lu kB\n"
"Slab: %8lu kB\n"
"PageTables: %8lu kB\n"
- "NFS Unstable: %8lu kB\n"
+ "NFS_Unstable: %8lu kB\n"
"Bounce: %8lu kB\n"
"CommitLimit: %8lu kB\n"
"Committed_AS: %8lu kB\n"