summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/open.c')
-rw-r--r--otherlibs/unix/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/open.c b/otherlibs/unix/open.c
index 39c7328f9..214a550d3 100644
--- a/otherlibs/unix/open.c
+++ b/otherlibs/unix/open.c
@@ -36,7 +36,7 @@
static int open_flag_table[] = {
O_RDONLY, O_WRONLY, O_RDWR, O_NONBLOCK, O_APPEND, O_CREAT, O_TRUNC, O_EXCL,
- O_NOCTTY, O_DSYNC, O_SYNC, O_RSYNC
+ O_NOCTTY, O_DSYNC, O_SYNC, O_RSYNC, 0
};
CAMLprim value unix_open(value path, value flags, value perm)