diff options
Diffstat (limited to 'src/system/FileDescriptor.cxx')
-rw-r--r-- | src/system/FileDescriptor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system/FileDescriptor.cxx b/src/system/FileDescriptor.cxx index dd516a703..db258e107 100644 --- a/src/system/FileDescriptor.cxx +++ b/src/system/FileDescriptor.cxx @@ -58,9 +58,9 @@ #endif bool -FileDescriptor::Open(const char *pathname, int flags) +FileDescriptor::Open(const char *pathname, int flags, mode_t mode) { - fd = ::open(pathname, flags | O_NOCTTY | O_CLOEXEC); + fd = ::open(pathname, flags | O_NOCTTY | O_CLOEXEC, mode); return IsDefined(); } |