]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld/
authorRichard Sandiford <rdsandiford@googlemail.com>
Fri, 5 Nov 2010 17:20:17 +0000 (17:20 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Fri, 5 Nov 2010 17:20:17 +0000 (17:20 +0000)
2010-11-05  Pierre Muller  <muller@ics.u-strasbg.fr>

* emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter.

ld/ChangeLog
ld/emultempl/spuelf.em

index 6eb5715c9b88c59535f69711680153a450ab2110..74de9ff88cfdf40139420db6b80118652dd82337 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-05 Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter.
+
 2010-11-05  Tristan Gingold  <gingold@adacore.com>
 
        * po/ld.pot: Regenerate
index 2ea760a7f0b3033ef5b3ffe0451a81bea5d98d57..ff6785ca6e27c2dcf48e7e7743de690ad8475b59 100644 (file)
@@ -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;
 }