diff options
author | Sami Kerola | 2012-06-27 23:24:56 +0200 |
---|---|---|
committer | Karel Zak | 2012-07-10 13:45:31 +0200 |
commit | 0aec470c2f802651cddb7952a174f2d389acc129 (patch) | |
tree | 7ae310f159f6cfcc526d4518f5557bc735773534 /sys-utils/swapon.c | |
parent | swapon: make --show size to be human readable by default (diff) | |
download | kernel-qcow2-util-linux-0aec470c2f802651cddb7952a174f2d389acc129.tar.gz kernel-qcow2-util-linux-0aec470c2f802651cddb7952a174f2d389acc129.tar.xz kernel-qcow2-util-linux-0aec470c2f802651cddb7952a174f2d389acc129.zip |
swapon: fix --summary output regression
Commit 64b588814e5f081a7ab37f820984aa7a2de9eee9 changed --summary
header alignment, and usage of spaces vs tabs in output.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/swapon.c')
-rw-r--r-- | sys-utils/swapon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c index b4decab44..0858894c4 100644 --- a/sys-utils/swapon.c +++ b/sys-utils/swapon.c @@ -194,7 +194,7 @@ static int display_summary(void) err(EXIT_FAILURE, _("failed to initialize libmount iterator")); if (mnt_table_get_nents(st) > 0) - printf(_("%-39s\tType\tSize\tUsed\tPriority\n"), _("Filename")); + printf(_("%s\t\t\t\tType\t\tSize\tUsed\tPriority\n"), _("Filename")); while (mnt_table_next_fs(st, itr, &fs) == 0) { printf("%-39s\t%s\t%jd\t%jd\t%d\n", |