From 8bb3dc7766c027a46f0345c4f9c291b42178a903 Mon Sep 17 00:00:00 2001 From: Jeffrey Oldham Date: Tue, 27 Feb 2001 01:26:26 +0000 Subject: [PATCH] mips.c (mips_make_temp_file): Fix thinko in last change. 2001-02-26 Jeffrey Oldham * mips.c (mips_make_temp_file): Fix thinko in last change. From-SVN: r40078 --- gcc/ChangeLog | 4 ++++ gcc/config/mips/mips.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f7a50fd78e7..58d15b49a5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-02-26 Jeffrey Oldham + + * mips.c (mips_make_temp_file): Fix thinko in last change. + 2001-02-26 Jason Eckhardt * 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 2cc0ccbbb9f..8467c88d940 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; -- 2.30.2