diff options
Diffstat (limited to 'io/openat.c')
-rw-r--r-- | io/openat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io/openat.c b/io/openat.c index 98fa1a1d64..a6bd62094b 100644 --- a/io/openat.c +++ b/io/openat.c @@ -79,7 +79,7 @@ __openat_2 (fd, file, oflag) if (oflag & O_CREAT) __fortify_fail ("invalid openat call: O_CREAT without mode"); - return __openat (file, oflag); + return __openat (fd, file, oflag); } stub_warning (__openat_2) |