diff options
author | Karel Zak | 2011-12-01 16:42:42 +0100 |
---|---|---|
committer | Karel Zak | 2011-12-01 16:42:42 +0100 |
commit | b3f7a0ec3eea12bd0c7eb421d14d074c1a8896f9 (patch) | |
tree | 1c3279e2e3f4517d4525f505e0dad5e8a60a7b59 /libmount/samples/mount.c | |
parent | Merge branch 'login-utils' of https://github.com/kerolasa/lelux-utiliteetit (diff) | |
download | kernel-qcow2-util-linux-b3f7a0ec3eea12bd0c7eb421d14d074c1a8896f9.tar.gz kernel-qcow2-util-linux-b3f7a0ec3eea12bd0c7eb421d14d074c1a8896f9.tar.xz kernel-qcow2-util-linux-b3f7a0ec3eea12bd0c7eb421d14d074c1a8896f9.zip |
libmount: improve verbose message
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/samples/mount.c')
-rw-r--r-- | libmount/samples/mount.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmount/samples/mount.c b/libmount/samples/mount.c index 2e58eedb3..2d995fd18 100644 --- a/libmount/samples/mount.c +++ b/libmount/samples/mount.c @@ -157,22 +157,22 @@ static int mount_all(struct libmnt_context *cxt, if (ignored) { if (mnt_context_is_verbose(cxt)) - printf(ignored == 1 ? _("%-20s: ignored\n") : - _("%-20s: already mounted\n"), + printf(ignored == 1 ? _("%-25s: ignored\n") : + _("%-25s: already mounted\n"), tgt); } else if (!mnt_context_get_status(cxt)) { if (mntrc > 0) { errno = mntrc; - printf(_("%-20s: failed: %s\n"), tgt, + printf(_("%-25s: failed: %s\n"), tgt, strerror(mntrc)); rc |= EX_FAIL; } else { - printf(_("%-20s: failed\n"), tgt); + printf(_("%-25s: failed\n"), tgt); rc |= EX_SYSERR; } } else { if (mnt_context_is_verbose(cxt)) - printf("%-20s: successfully mounted\n", tgt); + printf("%-25s: successfully mounted\n", tgt); rc |= EX_SOMEOK; } |