about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--stdio/linewrap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdio/linewrap.c b/stdio/linewrap.c
index 37780d21a3..e8fd851298 100644
--- a/stdio/linewrap.c
+++ b/stdio/linewrap.c
@@ -346,6 +346,7 @@ line_wrap_stream (FILE *stream, size_t lmargin, size_t rmargin, ssize_t wmargin)
   d->output = stream->__room_funcs.__output;
   d->close = stream->__io_funcs.__close;
   d->fileno = stream->__io_funcs.__fileno;
+  d->seek = stream->__io_funcs.__seek;
 
   /* Take over the stream.  */
   wrap_stream (stream, d);