summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-23 22:12:22 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-23 22:12:22 +0100
commitdb99f9f29a248b84742b6779c3343123f72065e7 (patch)
treee0f89d9f7c7b5c44e3d5abbde004ae814b11688e /src/gui.c
parentdbbb0ef729e392e313ccc63c247bff1b828a214d (diff)
patch 8.2.0436: no warnings for incorrect printf argumentsv8.2.0436
Problem: No warnings for incorrect printf arguments. Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique Pelle, closes #5834)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index 4733bad6e4..0e008c12d8 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -542,7 +542,7 @@ gui_init(void)
if (STRCMP(use_gvimrc, "NONE") != 0
&& STRCMP(use_gvimrc, "NORC") != 0
&& do_source(use_gvimrc, FALSE, DOSO_NONE, NULL) != OK)
- semsg(_("E230: Cannot read from \"%s\""), use_gvimrc, NULL);
+ semsg(_("E230: Cannot read from \"%s\""), use_gvimrc);
}
else
{