diff --git a/src/mergerfs_collect_info.cpp b/src/mergerfs_collect_info.cpp index 17c275d8..d6824c2e 100644 --- a/src/mergerfs_collect_info.cpp +++ b/src/mergerfs_collect_info.cpp @@ -83,7 +83,7 @@ _mount_point_stats(const std::string &output_) { std::vector allpaths; - mergerfs::api::allpaths(mount.dir.string(),allpaths); + mergerfs::api::allpaths(mount.dir.string(),&allpaths); for(const auto &path : allpaths) { ::_run({"stat",path.c_str()},output_);