summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/utils.c
diff options
context:
space:
mode:
authorKarel Zak2010-08-10 15:26:59 +0200
committerKarel Zak2011-01-03 12:28:41 +0100
commitd672fb2688bebf952344e263f0fe70653148298d (patch)
tree27af04582ec84823a278c598bf9f96e7ee1f0195 /shlibs/mount/src/utils.c
parentlibmount: update mount.{h,sym} (diff)
downloadkernel-qcow2-util-linux-d672fb2688bebf952344e263f0fe70653148298d.tar.gz
kernel-qcow2-util-linux-d672fb2688bebf952344e263f0fe70653148298d.tar.xz
kernel-qcow2-util-linux-d672fb2688bebf952344e263f0fe70653148298d.zip
libmount: update tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/mount/src/utils.c')
-rw-r--r--shlibs/mount/src/utils.c2
1 files changed, 1 insertions, 1 deletions
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);