aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/__openat64_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/__openat64_2.c')
-rw-r--r--ports/linux/guts/__openat64_2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/linux/guts/__openat64_2.c b/ports/linux/guts/__openat64_2.c
index 8772115..e970df7 100644
--- a/ports/linux/guts/__openat64_2.c
+++ b/ports/linux/guts/__openat64_2.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008-2010 Wind River Systems; see
+ * Copyright (c) 2008-2010,2012 Wind River Systems; see
* guts/COPYRIGHT for information.
*
* static int
@@ -7,7 +7,7 @@
* int rc = -1;
*/
- rc = wrap_openat(dirfd, path, flags, O_LARGEFILE);
+ rc = wrap_openat(dirfd, path, flags | O_LARGEFILE, 0);
/* return rc;
* }