From: Andreas Jaeger Date: Mon, 18 Mar 2002 18:31:16 +0000 (+0000) Subject: Merge fix from mainline: Pass correct type. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10c28876b2a8b35fe58063658530c9b8d1fe3fb5;p=thirdparty%2Fglibc.git Merge fix from mainline: Pass correct type. --- 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;