summaryrefslogtreecommitdiff
path: root/pstack
diff options
context:
space:
mode:
Diffstat (limited to 'pstack')
-rw-r--r--pstack/bucomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pstack/bucomm.c b/pstack/bucomm.c
index 2b44239d1d3..6c491d80bb5 100644
--- a/pstack/bucomm.c
+++ b/pstack/bucomm.c
@@ -205,7 +205,7 @@ make_tempname (filename)
strcpy (tmpname, filename);
strcat (tmpname, "/");
strcat (tmpname, template);
- mktemp (tmpname);
+ mkstemp (tmpname);
*slash = c;
}
else