mips.c (mips_make_temp_file): Fix thinko in last change.
authorJeffrey Oldham <oldham@codesourcery.com>
Tue, 27 Feb 2001 01:26:26 +0000 (01:26 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 27 Feb 2001 01:26:26 +0000 (01:26 +0000)
2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>

        * mips.c (mips_make_temp_file): Fix thinko in last change.

From-SVN: r40078

gcc/ChangeLog
gcc/config/mips/mips.c

index f7a50fd..58d15b4 100644 (file)
@@ -1,3 +1,7 @@
+2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>
+
+       * mips.c (mips_make_temp_file): Fix thinko in last change.
+
 2001-02-26  Jason Eckhardt  <jle@redhat.com>
 
        * combine.c (known_cond): Do not reverse the condition when
index 2cc0ccb..8467c88 100644 (file)
@@ -5790,7 +5790,7 @@ mips_make_temp_file ()
   FILE *stream;
 
   temp_filename = make_temp_file (0);
-  stream = fopen (filename, "w+");
+  stream = fopen (temp_filename, "w+");
   if (!stream)
     fatal_io_error ("can't open %s", temp_filename);
   return stream;