summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-27 01:23:58 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-08-27 11:01:33 -0700
commitf5ef68da5fda5e095b585ea5ecdd42af3c8695f7 (patch)
tree6ceabca67d61c1419daa1a407b45bdf1268bac09 /drivers/base
parent513627d7fec6fcb7b3d56ce355cb4d192c76b530 (diff)
downloadop-kernel-dev-f5ef68da5fda5e095b585ea5ecdd42af3c8695f7.zip
op-kernel-dev-f5ef68da5fda5e095b585ea5ecdd42af3c8695f7.tar.gz
[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 'drivers/base')
-rw-r--r--drivers/base/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/node.c b/drivers/base/node.c
index d7de1753..e9b0957 100644
--- a/drivers/base/node.c
+++ b/drivers/base/node.c
@@ -64,7 +64,7 @@ static ssize_t node_read_meminfo(struct sys_device * dev, char * buf)
"Node %d Mapped: %8lu kB\n"
"Node %d AnonPages: %8lu kB\n"
"Node %d PageTables: %8lu kB\n"
- "Node %d NFS Unstable: %8lu kB\n"
+ "Node %d NFS_Unstable: %8lu kB\n"
"Node %d Bounce: %8lu kB\n"
"Node %d Slab: %8lu kB\n",
nid, K(i.totalram),
OpenPOWER on IntegriCloud