]> granicus.if.org Git - procps-ng/commit
vmstat: Fix alignment for disk partition format
authorCraig Small <csmall@enc.com.au>
Sun, 24 Sep 2017 23:09:57 +0000 (09:09 +1000)
committerCraig Small <csmall@enc.com.au>
Sun, 24 Sep 2017 23:09:57 +0000 (09:09 +1000)
commitcae3f1438f0ffbca4abc517e6c12d7ba76852e68
tree75b02832b25c6588c4d2c13643009adfb75b3f07
parent04835608dd536356529fa6e1039c116e9da86221
vmstat: Fix alignment for disk partition format

The disk partition format translation hint, the actual text and the
printf statements were all diagreeing with each other. This meant
the disk partition output from vmstat was a mess.

Now all the titles and values line up and everything is right-aligned
which looks better than some half-hearted attempt at center-aligned
for titles and right-aligned for values.

Thanks to @goeran for the heads-up in #69
vmstat.c