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 <[email protected]>
---
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),
On Tue, Oct 13, 2009 at 03:03:59PM +0100, Hugh Dickins wrote:
> 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.
Thanks, added.
-Andi
--
[email protected] -- Speaking for myself only.