aboutsummaryrefslogtreecommitdiffstats
path: root/ports/linux/guts/open64.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/linux/guts/open64.c')
-rw-r--r--ports/linux/guts/open64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/linux/guts/open64.c b/ports/linux/guts/open64.c
index adeb885..8028ede 100644
--- a/ports/linux/guts/open64.c
+++ b/ports/linux/guts/open64.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(AT_FDCWD, path, flags, mode | O_LARGEFILE);
+ rc = wrap_openat(AT_FDCWD, path, flags | O_LARGEFILE, mode);
/* return rc;
* }