Browse Source

fs_find_mount_point.cpp

inodecalc
Antonio SJ Musumeci 3 weeks ago
parent
commit
10e6e2daff
  1. 2
      src/fs_find_mount_point.cpp

2
src/fs_find_mount_point.cpp

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

Loading…
Cancel
Save