Browse Source

fuse_open.cpp

passthrough2
Antonio SJ Musumeci 9 months ago
parent
commit
28d71bb839
  1. 2
      src/fuse_open.cpp

2
src/fuse_open.cpp

@ -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;

Loading…
Cancel
Save