]> git.sesse.net Git - plocate/blobdiff - updatedb.cpp
Remove some globals from the bind mount code.
[plocate] / updatedb.cpp
index f4cfb020f131027913a14fd5e40cdfe5b4887bd6..cf19992ca3716feb5ac6d098d7007431af2a1676 100644 (file)
@@ -789,7 +789,7 @@ int main(int argc, char **argv)
 
        conf_prepare(argc, argv);
        if (conf_prune_bind_mounts) {
-               bind_mount_init(MOUNTINFO_PATH);
+               bind_mount_init();
        }
 
        int fd = open(conf_output.c_str(), O_RDONLY);