diff options
Diffstat (limited to 'libc/stdio/fdopen.c')
-rw-r--r-- | libc/stdio/fdopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/fdopen.c b/libc/stdio/fdopen.c index 9b08b4b71..bca7f23fb 100644 --- a/libc/stdio/fdopen.c +++ b/libc/stdio/fdopen.c @@ -11,7 +11,7 @@ FILE attribute_hidden *__fdopen(int filedes, const char *mode) { intptr_t cur_mode; - return (((cur_mode = fcntl(filedes, F_GETFL))) != -1) + return (((cur_mode = __fcntl(filedes, F_GETFL))) != -1) ? _stdio_fopen(cur_mode, mode, NULL, filedes) : NULL; } |