Skip to content

Commit

Permalink
HWPOISON: fix/proc/meminfo alignment
Browse files Browse the repository at this point in the history
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@tiscali.co.uk>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
  • Loading branch information
Hugh Dickins authored and Andi Kleen committed Oct 19, 2009
1 parent 01e00f8 commit 5d5429a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/proc/meminfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
"VmallocUsed: %8lu kB\n"
"VmallocChunk: %8lu kB\n"
#ifdef CONFIG_MEMORY_FAILURE
"HardwareCorrupted: %8lu kB\n"
"HardwareCorrupted: %5lu kB\n"
#endif
,
K(i.totalram),
Expand Down

0 comments on commit 5d5429a

Please sign in to comment.