diff options
author | Hugh Dickins <hugh.dickins@tiscali.co.uk> | 2009-10-13 15:03:59 +0100 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-10-19 07:29:21 +0200 |
commit | 5d5429af066b8896e903d829ac143711ed2c25f2 (patch) | |
tree | 94b8791181ee1f16c20425e133f46c8bc0dd9049 | |
parent | 01e00f880ca700376e1845cf7a2524ebe68e47d6 (diff) | |
download | kernel-crypto-5d5429af066b8896e903d829ac143711ed2c25f2.tar.gz kernel-crypto-5d5429af066b8896e903d829ac143711ed2c25f2.tar.xz kernel-crypto-5d5429af066b8896e903d829ac143711ed2c25f2.zip |
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: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | fs/proc/meminfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c index c7bff4f603f..a65239cfd97 100644 --- a/fs/proc/meminfo.c +++ b/fs/proc/meminfo.c @@ -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), |