aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 3fc078cb8a..4e3879ddef 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -3423,7 +3423,7 @@ get_cmd_output (
return NULL;
/* get a name for the temp file */
- if ((tempname = vim_tempname('o')) == NULL) {
+ if ((tempname = vim_tempname()) == NULL) {
EMSG(_(e_notmp));
return NULL;
}