summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-11 22:34:51 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-11 22:34:51 +0200
commit8327d1df1754b33d8a93b3411f30692f0042f4ce (patch)
tree6f2d59fd480125984eef99d22941edc37f23d31c /src/netbeans.c
parent292eff0c5aacb8531d65509679b6c29eae8dc22a (diff)
downloadvim-git-8327d1df1754b33d8a93b3411f30692f0042f4ce.tar.gz
patch 8.0.0709: libvterm cannot use vsnprintf()v8.0.0709
Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. Solution: Use vim_vsnprintf() instead.
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index fb4cb766d..93563b115 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -2301,7 +2301,7 @@ coloncmd(char *cmd, ...)
va_list ap;
va_start(ap, cmd);
- vim_vsnprintf(buf, sizeof(buf), cmd, ap, NULL);
+ vim_vsnprintf(buf, sizeof(buf), cmd, ap);
va_end(ap);
nbdebug((" COLONCMD %s\n", buf));