diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-02-22 12:59:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 12:59:39 -0800 |
commit | 93c6eb4a668b52394667feca86d5e57731828528 (patch) | |
tree | dd7c5bb794851892cbaa37fb22f197bc7d946f37 /src/nvim/ex_getln.c | |
parent | ff1730373c6139db14b8f2f9b24d4ccd7fcfb01d (diff) | |
download | rneovim-93c6eb4a668b52394667feca86d5e57731828528.tar.gz rneovim-93c6eb4a668b52394667feca86d5e57731828528.tar.bz2 rneovim-93c6eb4a668b52394667feca86d5e57731828528.zip |
PVS/V618: fix printf-style args #11888
We intentionally do not translate API errors.
ref: https://github.com/neovim/neovim/issues/6150
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 1c3c212aef..c9f36ccd61 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -2701,7 +2701,7 @@ static bool color_cmdline(CmdlineInfo *colored_ccline) goto color_cmdline_error; } if (tv.v_type != VAR_LIST) { - PRINT_ERRMSG(_("E5400: Callback should return list")); + PRINT_ERRMSG("%s", _("E5400: Callback should return list")); goto color_cmdline_error; } if (tv.vval.v_list == NULL) { |