From 78463734c14d180e4d8e16c6e66fb213fc3479c0 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 15 May 2008 07:57:49 +0000 Subject: Updated to fedora-glibc-20080515T0735 --- io/openat.c | 2 +- io/openat64.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'io') 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) diff --git a/io/openat64.c b/io/openat64.c index 2d63490c65..1532afeea6 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) -- cgit v1.2.3-70-g09d2