aboutsummaryrefslogtreecommitdiff
path: root/io/openat64.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/openat64.c')
-rw-r--r--io/openat64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/openat64.c b/io/openat64.c
index 2d63490..1532afe 100644
--- a/io/openat64.c
+++ b/io/openat64.c
@@ -79,7 +79,7 @@ __openat64_2 (fd, file, oflag)
if (oflag & O_CREAT)
__fortify_fail ("invalid openat64 call: O_CREAT without mode");
- return __openat64 (file, oflag);
+ return __openat64 (fd, file, oflag);
}
stub_warning (__openat_2)