summaryrefslogtreecommitdiff
path: root/libc/stdio/fdopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/fdopen.c')
-rw-r--r--libc/stdio/fdopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/fdopen.c b/libc/stdio/fdopen.c
index acf6231b2..635ab803d 100644
--- a/libc/stdio/fdopen.c
+++ b/libc/stdio/fdopen.c
@@ -15,7 +15,7 @@ FILE *fdopen(int filedes, const char *mode)
intptr_t cur_mode;
return (((cur_mode = fcntl(filedes, F_GETFL))) != -1)
- ? _stdio_fopen(cur_mode, mode, NULL, filedes)
+ ? _stdio_fopen(cur_mode, mode, NULL, filedes)
: NULL;
}
libc_hidden_def(fdopen)