summaryrefslogtreecommitdiffstats
path: root/mount/swapon.c
diff options
context:
space:
mode:
authorKarel Zak2011-08-09 13:11:56 +0200
committerKarel Zak2011-08-09 13:11:56 +0200
commit09e8b3852cb5a2c0b375419bcb369ae46db611c1 (patch)
tree2900a84fdaf5cfacfab3e3a99cd135fddcf7f952 /mount/swapon.c
parentlib: [loopdev.c] correct trivial typo (diff)
downloadkernel-qcow2-util-linux-09e8b3852cb5a2c0b375419bcb369ae46db611c1.tar.gz
kernel-qcow2-util-linux-09e8b3852cb5a2c0b375419bcb369ae46db611c1.tar.xz
kernel-qcow2-util-linux-09e8b3852cb5a2c0b375419bcb369ae46db611c1.zip
swapon: missing separator in swapon -s command
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=728963 Reported-by: Pavel Holica <pholica@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/swapon.c')
-rw-r--r--mount/swapon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/swapon.c b/mount/swapon.c
index 2956a8e83..786b2c774 100644
--- a/mount/swapon.c
+++ b/mount/swapon.c
@@ -226,7 +226,7 @@ display_summary(void)
continue;
cn = canonicalize_path(dev);
if (cn)
- printf("%-40s%s", cn, p);
+ printf("%-39s %s", cn, p);
free(dev);
free(cn);
}