summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-15 20:19:40 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-15 20:19:40 +0100
commitb5443cc46dd1485d6c785dd8c65a2c07bd5a17f3 (patch)
tree0d666a666cf4f5bea6b3afdf8a60059e5991ab8c /src/netbeans.c
parent8e481e8dfe0b82930faf005c7e840c49cbcf4511 (diff)
downloadvim-git-b5443cc46dd1485d6c785dd8c65a2c07bd5a17f3.tar.gz
patch 8.1.0753: printf format not checked for semsg()v8.1.0753
Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes #3805)
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 eb61b3107..65b2f7091 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -1541,7 +1541,7 @@ nb_do_cmd(
if (!buf->bufp->b_netbeans_file)
{
nbdebug(("E658: NetBeans connection lost for buffer %ld\n", buf->bufp->b_fnum));
- semsg(_("E658: NetBeans connection lost for buffer %ld"),
+ semsg(_("E658: NetBeans connection lost for buffer %d"),
buf->bufp->b_fnum);
}
else