vcl: remove perror ldp call 44/40044/2
authorFlorin Coras <fcoras@cisco.com>
Fri, 1 Dec 2023 21:23:35 +0000 (13:23 -0800)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 1 Dec 2023 23:37:47 +0000 (23:37 +0000)
Reported by coverity

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Idae1bceb1eeb6dfe0394eed39ced9d09342d201f

src/vcl/ldp.c

index 369c480..64155ea 100644 (file)
@@ -1865,7 +1865,6 @@ sendmmsg (int fd, struct mmsghdr *vmessages, unsigned int vlen, int flags)
       if (size < 0)
        {
          int errno_val = errno;
-         perror (func_str);
          clib_warning ("LDP<%d>: ERROR: fd %d (0x%x): %s() failed! "
                        "rv %d, errno = %d", getpid (), fd, fd,
                        func_str, size, errno_val);