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 4c1a591d..064d298c 100644
--- a/src/fcntl/open.c
+++ b/src/fcntl/open.c
@@ -13,7 +13,7 @@ int open(const char *filename, int flags, ...)
mode = va_arg(ap, mode_t);
va_end(ap);
CANCELPT_BEGIN;
- r = __syscall_open(filename, flags, mode);
+ r = syscall(SYS_open, filename, flags|O_LARGEFILE, mode);
CANCELPT_END;
return r;
}