diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2010-11-05 17:20:17 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2010-11-05 17:20:17 +0000 |
commit | a38ce0d06c7bec7359ac34c0611c1f2657225679 (patch) | |
tree | 34ad7f425fb18841c26637c67f1956d1179cf72d /ld | |
parent | b521dba8314f58f8dd0234297d8539628f9e5e7a (diff) | |
download | binutils-a38ce0d06c7bec7359ac34c0611c1f2657225679.zip binutils-a38ce0d06c7bec7359ac34c0611c1f2657225679.tar.gz binutils-a38ce0d06c7bec7359ac34c0611c1f2657225679.tar.bz2 |
ld/
2010-11-05 Pierre Muller <muller@ics.u-strasbg.fr>
* emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/emultempl/spuelf.em | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 6eb5715..74de9ff 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 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; } |