]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-mount-util.c
mountpoint-util: introduce path_is_mount_point_full
[thirdparty/systemd.git] / src / test / test-mount-util.c
index 069a63290cecf529ba2ca96dd1d89781df68f9cd..3e22ac67fc85b4cd97c4d62fc65f3719b5564159 100644 (file)
@@ -508,11 +508,11 @@ TEST(bind_mount_submounts) {
         free(x);
 
         assert_se(x = path_join(b, "x"));
-        assert_se(path_is_mount_point(x, NULL, 0) > 0);
+        assert_se(path_is_mount_point(x) > 0);
         free(x);
 
         assert_se(x = path_join(b, "y"));
-        assert_se(path_is_mount_point(x, NULL, 0) > 0);
+        assert_se(path_is_mount_point(x) > 0);
 
         assert_se(umount_recursive(a, 0) >= 0);
         assert_se(umount_recursive(b, 0) >= 0);