mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-04-24 22:14:05 +08:00
fs_find_mount_point.cpp
This commit is contained in:
parent
1b1e7a1b52
commit
3c5db46b4b
@ -20,7 +20,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
|
||||
|
||||
rv = fs::lstat(can_path,&initial_st);
|
||||
if(rv == -1)
|
||||
return std::error_code(-errno,std::system_category());
|
||||
return std::error_code(errno,std::system_category().default_error_condition(errno));
|
||||
|
||||
tmp_path = can_path;
|
||||
while(tmp_path != tmp_path.root_path())
|
||||
|
Loading…
x
Reference in New Issue
Block a user