Signed-off-by: Karel Zak <kzak@redhat.com>
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);
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);