diff --git a/src/fuse_create.cpp b/src/fuse_create.cpp index e6da8438..d93a0132 100644 --- a/src/fuse_create.cpp +++ b/src/fuse_create.cpp @@ -288,7 +288,7 @@ namespace FUSE return rv; uint64_t x = ((((uint64_t)+cfg->passthrough) << 32) | (ffi_->flags & O_ACCMODE)); - switch(+cfg->passthrough) + switch(x) { default: return rv;