summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/stdio/fseek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c
index 2278f31..b8366f3 100644
--- a/lib/libc/stdio/fseek.c
+++ b/lib/libc/stdio/fseek.c
@@ -225,8 +225,8 @@ _fseeko(fp, offset, whence, ltest)
goto dumb;
/*
- * (If the buffer was modified, we have to
- * skip this; see fgetln.c.)
+ * If the buffer was modified or the file position was changed,
+ * we have to skip this; see fgetln.c, stdio.c.
*/
if (fp->_flags & __SMOD)
goto abspos;
OpenPOWER on IntegriCloud