summaryrefslogtreecommitdiff
path: root/file_io/unix/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'file_io/unix/open.c')
-rw-r--r--file_io/unix/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/unix/open.c b/file_io/unix/open.c
index 1e7b51183..770d438ae 100644
--- a/file_io/unix/open.c
+++ b/file_io/unix/open.c
@@ -170,7 +170,7 @@ APR_DECLARE(apr_status_t) apr_file_open(apr_file_t **new,
}
#endif
- if (perm == APR_OS_DEFAULT) {
+ if (perm == APR_FPROT_OS_DEFAULT) {
fd = open(fname, oflags, 0666);
}
else {