diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 1f6fd706..13a99a9c 100644 --- a/src/fuse_open.cpp +++ b/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;