LD_PRELOAD: Fix Coverity Warning CID 182227

Change-Id: I2698a59db29cbace49335e035478b5f456d0b06a
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
This commit is contained in:
Dave Wallace
2018-01-19 12:17:08 -05:00
committed by Damjan Marion
parent 3ce0b089a1
commit b4cd4ff74b

View File

@ -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;