summaryrefslogtreecommitdiff
path: root/src/stdio/fseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fseek.c')
-rw-r--r--src/stdio/fseek.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/fseek.c b/src/stdio/fseek.c
index 9f4bd733..f9f3371a 100644
--- a/src/stdio/fseek.c
+++ b/src/stdio/fseek.c
@@ -20,6 +20,8 @@ int fseek(FILE *stream, long int offset, int whence)
} else if (whence == SEEK_SET) {
}
+ stream->operation = OP_NONE;
+
return 1;
}