fuse_open.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-04-13 08:50:01 -05:00
parent bdc140740f
commit 28d71bb839

View file

@ -322,7 +322,7 @@ namespace FUSE
std::string proc_filepath;
ffi_->backing_id = pti->backing_id;
proc_filepath = fmt::format("/proc/self/fd/{}",ffi_->fd);
proc_filepath = fmt::format("/proc/self/fd/{}",pti->fd);
fd = fs::open(proc_filepath,ffi_->flags);
if(fd == -1)
return -errno;