about summary refs log tree commit diff
path: root/libio/iofdopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofdopen.c')
-rw-r--r--libio/iofdopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iofdopen.c b/libio/iofdopen.c
index ee8caa3604..1c76ba7a4f 100644
--- a/libio/iofdopen.c
+++ b/libio/iofdopen.c
@@ -132,7 +132,7 @@ _IO_new_fdopen (fd, mode)
 #endif
   if (INTUSE(_IO_file_attach) ((_IO_FILE *) &new_f->fp, fd) == NULL)
     {
-      INTUSE(_IO_setb) (&new_f->fp, NULL, NULL, 0);
+      INTUSE(_IO_setb) (&new_f->fp.file, NULL, NULL, 0);
       INTUSE(_IO_un_link) (&new_f->fp);
       free (new_f);
       return NULL;