summaryrefslogtreecommitdiffstats
path: root/fish/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'fish/edit.c')
-rw-r--r--fish/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/edit.c b/fish/edit.c
index 4c06e86e..58b4a598 100644
--- a/fish/edit.c
+++ b/fish/edit.c
@@ -34,7 +34,7 @@
int
run_edit (const char *cmd, int argc, char *argv[])
{
- char filename[] = "/tmp/guestfishXXXXXX";
+ TMP_TEMPLATE_ON_STACK (filename);
char buf[256];
const char *editor;
struct stat oldstat, newstat;