aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/undo.c
diff options
context:
space:
mode:
authorHusain Alshehhi <husainaloos@users.noreply.github.com>2020-01-01 07:59:37 -0600
committerJustin M. Keyes <justinkz@gmail.com>2020-01-01 05:59:37 -0800
commitdec165b268803d08425e0f173b2487c76a2c440c (patch)
tree8a4bbd61c1b283720957693fbab58a9316701934 /src/nvim/undo.c
parente922576bdd6abd6736417343121120b289079565 (diff)
downloadrneovim-dec165b268803d08425e0f173b2487c76a2c440c.tar.gz
rneovim-dec165b268803d08425e0f173b2487c76a2c440c.tar.bz2
rneovim-dec165b268803d08425e0f173b2487c76a2c440c.zip
PVS/V618: fix emsgf format specifier #11643
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;