summaryrefslogtreecommitdiff
path: root/libc/stdio/setbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/setbuf.c')
-rw-r--r--libc/stdio/setbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/setbuf.c b/libc/stdio/setbuf.c
index 21158638b..02a4736ac 100644
--- a/libc/stdio/setbuf.c
+++ b/libc/stdio/setbuf.c
@@ -10,6 +10,6 @@
void setbuf(FILE * __restrict stream, register char * __restrict buf)
{
#ifdef __STDIO_BUFFERS
- setvbuf(stream, buf, ((buf != NULL) ? _IOFBF : _IONBF), BUFSIZ);
+ __setvbuf(stream, buf, ((buf != NULL) ? _IOFBF : _IONBF), BUFSIZ);
#endif
}