aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Oldham <oldham@codesourcery.com>2001-02-27 01:26:26 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-02-27 01:26:26 +0000
commit8bb3dc7766c027a46f0345c4f9c291b42178a903 (patch)
tree94b363c5447e2ffa14313e104565f5896038a074
parentac4cdf4033c6587c0cc361522d42b9732881b488 (diff)
downloadgcc-8bb3dc7766c027a46f0345c4f9c291b42178a903.zip
gcc-8bb3dc7766c027a46f0345c4f9c291b42178a903.tar.gz
gcc-8bb3dc7766c027a46f0345c4f9c291b42178a903.tar.bz2
mips.c (mips_make_temp_file): Fix thinko in last change.
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com> * mips.c (mips_make_temp_file): Fix thinko in last change. From-SVN: r40078
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mips/mips.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f7a50fd..58d15b4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 2cc0ccb..8467c88 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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;