From 10c28876b2a8b35fe58063658530c9b8d1fe3fb5 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 18 Mar 2002 18:31:16 +0000 Subject: [PATCH] Merge fix from mainline: Pass correct type. --- libio/iofdopen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libio/iofdopen.c b/libio/iofdopen.c index fb5838222c4..e0bdb56dc2c 100644 --- a/libio/iofdopen.c +++ b/libio/iofdopen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1994, 1997-1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1994, 1997-1999,2000,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -132,7 +132,7 @@ _IO_new_fdopen (fd, mode) #endif if (_IO_file_attach ((_IO_FILE *) &new_f->fp, fd) == NULL) { - _IO_setb (&new_f->fp, NULL, NULL, 0); + _IO_setb (&new_f->fp.file, NULL, NULL, 0); _IO_un_link (&new_f->fp); free (new_f); return NULL; -- 2.47.2