summaryrefslogtreecommitdiff
path: root/libc/stdio/fopen.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-15 05:45:24 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-15 05:45:24 +0000
commit3c71e47750ea70d3dfa46490b28740eccf711956 (patch)
tree9ab93c745fb98ff2fa87bae1abcdb1e908ee04b4 /libc/stdio/fopen.c
parent44d44d807ede85c53e05d88df82036b23c23e4a9 (diff)
suppress bogus ioctl on fd==INT_MAX when vasprintf() is called
Diffstat (limited to 'libc/stdio/fopen.c')
-rw-r--r--libc/stdio/fopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/fopen.c b/libc/stdio/fopen.c
index b5fc85af9..d33e28aa1 100644
--- a/libc/stdio/fopen.c
+++ b/libc/stdio/fopen.c
@@ -9,9 +9,9 @@
#ifndef __DO_LARGEFILE
# define FILEDES_ARG (-1)
-#undef fopen
+# undef fopen
#else
-#undef fopen64
+# undef fopen64
#endif
/* libc_hidden_proto(fopen) */