diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-05-11 09:32:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-05-11 09:32:43 +0000 |
commit | 3d7eeebe4990e08cd0c9fb2a9cc1e07c27ee3b4c (patch) | |
tree | 252ce33af5f9192ab9357f4cb286aec75993fbc4 /io/openat64.c | |
parent | 3490f01de4df5e6b21a9da5a566913f20326fa7a (diff) | |
download | glibc-3d7eeebe4990e08cd0c9fb2a9cc1e07c27ee3b4c.tar.gz glibc-3d7eeebe4990e08cd0c9fb2a9cc1e07c27ee3b4c.tar.xz glibc-3d7eeebe4990e08cd0c9fb2a9cc1e07c27ee3b4c.zip |
* io/openat.c (__openat_2): Also pass fd to __openat.
* io/openat64.c (__openat64_2): Also pass fd to __openat64. Patch by Kristian Van Der Vliet <vanders@liqwyd.com>.
Diffstat (limited to 'io/openat64.c')
-rw-r--r-- | io/openat64.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |