summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
Diffstat (limited to 'exec')
-rw-r--r--exec/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c
index fa04c771..ba0cfffb 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -680,7 +680,7 @@ prepare (file_t file, struct execdata *e)
e->stream.__userbuf = 1;
e->stream.__room_funcs.__input = input_room;
/* This never gets called, but fseek returns ESPIPE if it's null. */
- e->stream.__io_funcs.seek = __stdio_seek;
+ e->stream.__io_funcs.seek = __default_io_functions.seek;
e->stream.__io_funcs.close = close_exec_stream;
e->stream.__cookie = e;
e->stream.__seen = 1;