summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2018-01-19 12:17:08 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2018-01-19 20:33:38 +0000
commitb4cd4ff74b3493824f35e67a4128f459333fa50a (patch)
tree9e005731c43c0083414676fab9c9b2b047c0590e
parent3ce0b089a1564e42729f8174cf4fa0447b8fbbc1 (diff)
LD_PRELOAD: Fix Coverity Warning CID 182227
Change-Id: I2698a59db29cbace49335e035478b5f456d0b06a Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rw-r--r--src/vcl/vcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcom.c b/src/vcl/vcom.c
index 7558e775ed1..ef468815f2a 100644
--- a/src/vcl/vcom.c
+++ b/src/vcl/vcom.c
@@ -2506,7 +2506,7 @@ getsockopt (int fd, int level, int optname,
if (VCOM_DEBUG > 1)
clib_warning ("LDP<%d>: fd %d (0x%x): calling %s(): "
"sid %u (0x%x), optlen %d",
- getpid (), fd, fd, func_str, sid, sid, *optlen);
+ getpid (), fd, fd, func_str, sid, sid, buflen);
rv = vppcom_session_attr (sid, VPPCOM_ATTR_GET_RX_FIFO_LEN,
optval, optlen);
break;