]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsmem: align STATE to the right
authorKarel Zak <kzak@redhat.com>
Wed, 9 Nov 2016 08:58:14 +0000 (09:58 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 9 Nov 2016 09:02:32 +0000 (10:02 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lsmem.c

index 2210339a3badf70be3a9541f927fb32beb63b9fb..3599e470daf8f56dac8540f9cf887b2c4113947d 100644 (file)
@@ -99,7 +99,7 @@ struct coldesc {
 static struct coldesc coldescs[] = {
        [COL_RANGE]     = { "RANGE", 0, 0, N_("start and end address of the memory range")},
        [COL_SIZE]      = { "SIZE", 5, SCOLS_FL_RIGHT, N_("size of the memory range")},
-       [COL_STATE]     = { "STATE", 0, 0, N_("online status of the memory range")},
+       [COL_STATE]     = { "STATE", 0, SCOLS_FL_RIGHT, N_("online status of the memory range")},
        [COL_REMOVABLE] = { "REMOVABLE", 0, SCOLS_FL_RIGHT, N_("memory is removable")},
        [COL_BLOCK]     = { "BLOCK", 0, SCOLS_FL_RIGHT, N_("memory block number or blocks range")},
        [COL_NODE]      = { "NODE", 0, SCOLS_FL_RIGHT, N_("numa node of memory")},