]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
swapon: missing separator in swapon -s command
authorKarel Zak <kzak@redhat.com>
Tue, 9 Aug 2011 11:11:56 +0000 (13:11 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 9 Aug 2011 11:11:56 +0000 (13:11 +0200)
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>
mount/swapon.c

index 2956a8e8300bf4ad488e952d7e7701f69e8b2f4a..786b2c77417702ce657019e856ebc6ab9a48cef9 100644 (file)
@@ -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);
        }