]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Merge fix from mainline: Pass correct type.
authorAndreas Jaeger <aj@suse.de>
Mon, 18 Mar 2002 18:31:16 +0000 (18:31 +0000)
committerAndreas Jaeger <aj@suse.de>
Mon, 18 Mar 2002 18:31:16 +0000 (18:31 +0000)
libio/iofdopen.c

index fb5838222c4ac6e6cda29e611fd90cfbb7d4c700..e0bdb56dc2c0ff9f2f0b0dd7ebe1ff9bdc7ed6da 100644 (file)
@@ -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;