about summary refs log tree commit diff
path: root/stdio/fseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/fseek.c')
-rw-r--r--stdio/fseek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio/fseek.c b/stdio/fseek.c
index 562b7b3cb6..947e4657ca 100644
--- a/stdio/fseek.c
+++ b/stdio/fseek.c
@@ -42,7 +42,7 @@ DEFUN(fseek, (stream, offset, whence),
     return EOF;
 
   /* Make sure we know the current offset info.  */
-  stream.__offset = -1;
+  stream->__offset = -1;
   if (__stdio_check_offset (stream) == EOF)
     return EOF;