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/emultempl/spuelf.em | |
parent | b521dba8314f58f8dd0234297d8539628f9e5e7a (diff) | |
download | gdb-a38ce0d06c7bec7359ac34c0611c1f2657225679.zip gdb-a38ce0d06c7bec7359ac34c0611c1f2657225679.tar.gz gdb-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/emultempl/spuelf.em')
-rw-r--r-- | ld/emultempl/spuelf.em | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |