]> git.ipfire.org Git - thirdparty/util-linux.git/commit
swapon: align --summary fields
authorSami Kerola <kerolasa@iki.fi>
Sun, 29 Jun 2014 18:12:13 +0000 (19:12 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 30 Jun 2014 08:43:04 +0000 (10:43 +0200)
commit7471244148f96b601b05787501d02459b37f8c06
treeed51f4b3f8e21946f23ee78dd7d4c3cdbbb98dd1
parent6ec8a0bac52359a0d9aa8f011f59d1c5e878a14c
swapon: align --summary fields

This commit makes  partitions and files to have remaining three columns
aligned.  Below print out demonstrates earlier misalignment.

$ swapon -s
Filename                                Type            Size    Used    Priority
/dev/sda2                               partition       4194300 0       3
/home/src/util-linux/newswap            file    496     0       -1

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/swapon.c