summaryrefslogtreecommitdiff
path: root/src/fcntl/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcntl/open.c')
-rw-r--r--src/fcntl/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcntl/open.c b/src/fcntl/open.c
index be442089..0594ed7e 100644
--- a/src/fcntl/open.c
+++ b/src/fcntl/open.c
@@ -10,7 +10,7 @@ int open(const char *filename, int flags, ...)
va_start(ap, flags);
mode = va_arg(ap, mode_t);
va_end(ap);
- return syscall_cp(SYS_open, filename, flags|O_LARGEFILE, mode);
+ return sys_open_cp(filename, flags, mode);
}
LFS64(open);