diff options
Diffstat (limited to 'binutils/copy.c')
-rw-r--r-- | binutils/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/copy.c b/binutils/copy.c index 05d9f2d..91b5f26 100644 --- a/binutils/copy.c +++ b/binutils/copy.c @@ -148,7 +148,7 @@ bfd *obfd; bfd *this_element; /* Read each archive element in turn from the input, copy the contents to a temp file, and keep the temp file handle */ - char *dir = cat("./",make_tempname(this_element->filename),"copy-dir"); + char *dir = cat("./",make_tempname(""),"copy-dir"); /* Make a temp directory to hold the contents */ mkdir(dir,0777); |