summaryrefslogtreecommitdiff
path: root/pstack/bucomm.c
diff options
context:
space:
mode:
Diffstat (limited to 'pstack/bucomm.c')
-rw-r--r--pstack/bucomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pstack/bucomm.c b/pstack/bucomm.c
index 6c491d80bb5..d3231e71747 100644
--- a/pstack/bucomm.c
+++ b/pstack/bucomm.c
@@ -212,7 +212,7 @@ make_tempname (filename)
{
tmpname = xmalloc (sizeof (template));
strcpy (tmpname, template);
- mktemp (tmpname);
+ mkstemp (tmpname);
}
return tmpname;
}