aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/undo.c')
-rw-r--r--src/nvim/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/undo.c b/src/nvim/undo.c
index 539d42765d..980399a3ef 100644
--- a/src/nvim/undo.c
+++ b/src/nvim/undo.c
@@ -1057,7 +1057,7 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf,
if (file_name == NULL) {
if (p_verbose > 0) {
verbose_enter();
- smsg(_("Cannot write undo file in any directory in 'undodir'"));
+ smsg("%s", _("Cannot write undo file in any directory in 'undodir'"));
verbose_leave();
}
return;