aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/vcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/vcom.c')
-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;