summaryrefslogtreecommitdiff
path: root/libc/stdio/refill.c
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2019-05-07 21:21:08 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-05-07 21:21:08 +0000
commit2a24f6bd5f61ee4e916f08a7a69b486891f12f44 (patch)
tree00d8377b3273af0bb9b07e858340673ac5619a82 /libc/stdio/refill.c
parentbffe6f16a81d35b54a8c746fa5d3f8bec58c6a87 (diff)
parentc8e263becfa01afecba84edf6a8a18da27a78e89 (diff)
Merge "Revert fwalk/sfp locking to fix concurrent reads" into qt-dev
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);
}