From a38ce0d06c7bec7359ac34c0611c1f2657225679 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 5 Nov 2010 17:20:17 +0000 Subject: =?UTF-8?q?ld/=202010-11-05=C2=A0=20Pierre=20Muller=C2=A0=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter. --- ld/emultempl/spuelf.em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/emultempl/spuelf.em') diff --git a/ld/emultempl/spuelf.em b/ld/emultempl/spuelf.em index 2ea760a..ff6785ca 100644 --- a/ld/emultempl/spuelf.em +++ b/ld/emultempl/spuelf.em @@ -355,7 +355,7 @@ new_tmp_file (char **fname) *fname = mktemp (*fname); if (*fname == NULL) return -1; - fd = open (fname, O_RDWR | O_CREAT | O_EXCL, 0600); + fd = open (*fname, O_RDWR | O_CREAT | O_EXCL, 0600); #endif return fd; } -- cgit v1.1