[PATCH] hwpoison: fix/proc/meminfo alignment

From: Hugh Dickins
Date: Tue Oct 13 2009 - 10:05:27 EST


Given such a long name, the kB count in /proc/meminfo's HardwareCorrupted
line is being shown too far right (it does align with x86_64's VmallocChunk
above, but I hope nobody will ever have that much corrupted!). Align it.

Signed-off-by: Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx>
---

fs/proc/meminfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 2.6.32-rc4/fs/proc/meminfo.c 2009-09-28 00:28:37.000000000 +0100
+++ linux/fs/proc/meminfo.c 2009-10-13 14:09:12.000000000 +0100
@@ -99,7 +99,7 @@ static int meminfo_proc_show(struct seq_
"VmallocUsed: %8lu kB\n"
"VmallocChunk: %8lu kB\n"
#ifdef CONFIG_MEMORY_FAILURE
- "HardwareCorrupted: %8lu kB\n"
+ "HardwareCorrupted: %5lu kB\n"
#endif
,
K(i.totalram),
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/