summaryrefslogtreecommitdiff
path: root/stdio
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-08-20 21:55:39 +0000
committerMiles Bader <miles@gnu.org>1996-08-20 21:55:39 +0000
commit0f86f6c9a1979b1902f879071d21d0cbff3f7527 (patch)
treeca97530210d9af7d966a2999394b235abb5aef43 /stdio
parentf77a6b9e45f5f0faeb8770a573f04607b5b42e74 (diff)
downloadglibc-0f86f6c9a1979b1902f879071d21d0cbff3f7527.tar.gz
(line_wrap_stream): Initialize D->seek.
Diffstat (limited to 'stdio')
-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);