From dec165b268803d08425e0f173b2487c76a2c440c Mon Sep 17 00:00:00 2001 From: Husain Alshehhi Date: Wed, 1 Jan 2020 07:59:37 -0600 Subject: PVS/V618: fix emsgf format specifier #11643 --- src/nvim/undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/undo.c') 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; -- cgit