diff --git a/src/fuse_create.cpp b/src/fuse_create.cpp index eaf7b366..a55f7b7c 100644 --- a/src/fuse_create.cpp +++ b/src/fuse_create.cpp @@ -292,7 +292,7 @@ namespace FUSE { default: return rv; - case PassthroughEnum::ro: + case (PassthroughEnum::ro << 32) | O_RDONLY: case PassthroughEnum::wo: case PassthroughEnum::rw: return l::passthrough(fc,ffi_);