fuse_open.cpp

This commit is contained in:
Antonio SJ Musumeci
2024-04-13 09:21:38 -05:00
parent 3736163c25
commit 2192cdd5af
+1 -1
View File
@@ -323,7 +323,7 @@ namespace FUSE
std::string proc_filepath;
ffi_->backing_id = pti->backing_id;
proc_filepath = fmt::format("/proc/self/fd/{}",pti->fd);
proc_filepath = fmt::format("/proc/self/fd/{}",pti->path_fd);
fd = fs::open(proc_filepath,ffi_->flags);
if(fd == -1)
return -errno;