From d672fb2688bebf952344e263f0fe70653148298d Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 10 Aug 2010 15:26:59 +0200 Subject: [PATCH] libmount: update tests Signed-off-by: Karel Zak --- shlibs/mount/src/optstr.c | 2 +- shlibs/mount/src/utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shlibs/mount/src/optstr.c b/shlibs/mount/src/optstr.c index 3308a1a0..853f5f9b 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 15785df2..423d942b 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); -- 2.39.5