summaryrefslogtreecommitdiff
path: root/src/stdio/fflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fflush.c')
-rw-r--r--src/stdio/fflush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/fflush.c b/src/stdio/fflush.c
index cb5f49c6..a653e0d1 100644
--- a/src/stdio/fflush.c
+++ b/src/stdio/fflush.c
@@ -54,6 +54,8 @@ int fflush(FILE *stream)
RETURN_FAILURE(CONSTANT(EOF));
*/
+ stream->operation = OP_NONE;
+
return ret;
}