summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapon.c
diff options
context:
space:
mode:
authorSami Kerola2014-09-28 21:51:34 +0200
committerKarel Zak2014-10-01 12:33:10 +0200
commita12124ce7a941b09ae7104f2c146005ef285f65b (patch)
tree1c95609ebae6c536df22583b3a34f8a9044b866d /sys-utils/swapon.c
parentcfdisk: don't modify ncurses LINES and COLS (diff)
downloadkernel-qcow2-util-linux-a12124ce7a941b09ae7104f2c146005ef285f65b.tar.gz
kernel-qcow2-util-linux-a12124ce7a941b09ae7104f2c146005ef285f65b.tar.xz
kernel-qcow2-util-linux-a12124ce7a941b09ae7104f2c146005ef285f65b.zip
swapon: align available columns section in usage()
Commit 5db57cfc469b45ada0162a64d627ce25a3d2431f missed doing this change. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/swapon.c')
-rw-r--r--sys-utils/swapon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c
index 976f87e40..1170f9e2e 100644
--- a/sys-utils/swapon.c
+++ b/sys-utils/swapon.c
@@ -735,7 +735,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
fputs(_("\nAvailable columns (for --show):\n"), out);
for (i = 0; i < ARRAY_SIZE(infos); i++)
- fprintf(out, " %4s %s\n", infos[i].name, _(infos[i].help));
+ fprintf(out, " %-5s %s\n", infos[i].name, _(infos[i].help));
fprintf(out, USAGE_MAN_TAIL("swapon(8)"));
exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);