summaryrefslogtreecommitdiff
path: root/libc/stdio/refill.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/refill.c')
-rw-r--r--libc/stdio/refill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/refill.c b/libc/stdio/refill.c
index cfa2bfd45..1df419180 100644
--- a/libc/stdio/refill.c
+++ b/libc/stdio/refill.c
@@ -40,7 +40,7 @@ static int
lflush(FILE *fp)
{
if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR))
- return (__sflush(fp)); /* ignored... */
+ return (__sflush_locked(fp)); /* ignored... */
return (0);
}