diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index c8aaf8d0..2ded75be 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -28,7 +28,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) tmp_st.st_dev, tmp_path.parent_path().string().c_str(), initial_st.st_dev, - path_.string().c_str()); + can_path.string().c_str()); if(tmp_st.st_dev != initial_st.st_dev) return tmp_path;