diff --git a/src/fuse_create.cpp b/src/fuse_create.cpp index 097003f2..50358415 100644 --- a/src/fuse_create.cpp +++ b/src/fuse_create.cpp @@ -295,7 +295,7 @@ namespace FUSE if(rv != 0) return rv; - uint64_t x = ((((uint64_t)+cfg->passthrough) << 32) | (ffi_->flags & O_ACCMODE)); + uint64_t x = combine(cfg->passthrough,ffi_->flags); switch(x) { default: