diff options
Diffstat (limited to 'binutils/bucomm.c')
-rw-r--r-- | binutils/bucomm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/bucomm.c b/binutils/bucomm.c index aa3080fa75..8cccd6b3de 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -233,14 +233,14 @@ make_tempname (filename) #endif strcat (tmpname, "/"); strcat (tmpname, template); - mktemp (tmpname); + close (mkstemp (tmpname)); *slash = c; } else { tmpname = xmalloc (sizeof (template)); strcpy (tmpname, template); - mktemp (tmpname); + close (mkstemp (tmpname)); } return tmpname; } |