mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-29 03:16:56 -05:00
fs_openat.hpp
This commit is contained in:
parent
2221d5c4a5
commit
acf1f3df06
1 changed files with 1 additions and 5 deletions
|
|
@ -64,10 +64,6 @@ namespace fs
|
|||
const int flags_,
|
||||
const mode_t mode_)
|
||||
{
|
||||
int rv;
|
||||
|
||||
rv = ::openat(dirfd_,pathname_,flags_,mode_);
|
||||
|
||||
return ((rv == -1) ? -errno : rv);
|
||||
return fs::openat(dirfd_,pathname_.string().c_str(),flags_,mode_);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue