summaryrefslogtreecommitdiffstats
path: root/shlibs/mount
diff options
context:
space:
mode:
Diffstat (limited to 'shlibs/mount')
-rw-r--r--shlibs/mount/src/context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shlibs/mount/src/context.c b/shlibs/mount/src/context.c
index 923d71918..2cc76a0ad 100644
--- a/shlibs/mount/src/context.c
+++ b/shlibs/mount/src/context.c
@@ -1318,6 +1318,8 @@ int test_mount(struct mtest *ts, int argc, char *argv[])
rc = mnt_context_do_mount(cxt);
if (rc)
printf("failed to mount %s\n", strerror(errno));
+ else
+ printf("successfully mounted\n");
mnt_free_context(cxt);
return rc;
@@ -1370,6 +1372,8 @@ int test_umount(struct mtest *ts, int argc, char *argv[])
rc = mnt_context_do_umount(cxt);
if (rc)
printf("failed to umount\n");
+ else
+ printf("successfully umounted\n");
err:
mnt_free_context(cxt);
return rc;