Commit 5d5429af authored by Hugh Dickins's avatar Hugh Dickins Committed by Andi Kleen

HWPOISON: fix/proc/meminfo alignment

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: default avatarHugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent 01e00f88
...@@ -99,7 +99,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v) ...@@ -99,7 +99,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
"VmallocUsed: %8lu kB\n" "VmallocUsed: %8lu kB\n"
"VmallocChunk: %8lu kB\n" "VmallocChunk: %8lu kB\n"
#ifdef CONFIG_MEMORY_FAILURE #ifdef CONFIG_MEMORY_FAILURE
"HardwareCorrupted: %8lu kB\n" "HardwareCorrupted: %5lu kB\n"
#endif #endif
, ,
K(i.totalram), K(i.totalram),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment