fs_find_mount_point.cpp

This commit is contained in:
Antonio SJ Musumeci 2025-04-16 11:52:35 -05:00
parent f8d1b26ff2
commit 04224844e3

View File

@ -19,7 +19,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
return nonstd::make_unexpected(ec);
rv = fs::lstat(can_path,&initial_st);
ec.assign(errno);
ec.assign(errno,std::generic_category());
if(rv == -1)
return nonstd::make_unexpected(std::error_code(errno,std::generic_category()));