summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shlibs/mount/src/optstr.c2
-rw-r--r--shlibs/mount/src/utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/shlibs/mount/src/optstr.c b/shlibs/mount/src/optstr.c
index 3308a1a0e..853f5f9b0 100644
--- a/shlibs/mount/src/optstr.c
+++ b/shlibs/mount/src/optstr.c
@@ -491,7 +491,7 @@ int test_split(struct mtest *ts, int argc, char *argv[])
optstr = strdup(argv[1]);
- if (mnt_split_optstr(optstr, &user, &vfs, &fs) == 0) {
+ if (mnt_split_optstr(optstr, &user, &vfs, &fs, 0, 0) == 0) {
printf("user : %s\n", user);
printf("vfs : %s\n", vfs);
printf("fs : %s\n", fs);
diff --git a/shlibs/mount/src/utils.c b/shlibs/mount/src/utils.c
index 15785df2a..423d942b8 100644
--- a/shlibs/mount/src/utils.c
+++ b/shlibs/mount/src/utils.c
@@ -487,7 +487,7 @@ int test_mountpoint(struct mtest *ts, int argc, char *argv[])
int test_fsroot(struct mtest *ts, int argc, char *argv[])
{
char *path = canonicalize_path(argv[1]),
- *mnt = path ? mnt_get_fs_root(path) : NULL;
+ *mnt = path ? mnt_get_fs_root(path, NULL) : NULL;
printf("%s: %s\n", argv[1], mnt ? : "unknown");
free(mnt);