Merge pull request #8991 from opensourcerouting/sd-coverity-fix

lib: fix coverity unused result warning
This commit is contained in:
Donald Sharp 2021-07-07 21:18:27 -04:00 committed by GitHub
commit aaba414937
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ static void systemd_send_information(const char *info)
sun.sun_path[0] = '\0'; sun.sun_path[0] = '\0';
/* nothing we can do if this errors out... */ /* nothing we can do if this errors out... */
sendto(sock, info, strlen(info), 0, (struct sockaddr *)&sun, (void)sendto(sock, info, strlen(info), 0, (struct sockaddr *)&sun,
sizeof(sun)); sizeof(sun));
close(sock); close(sock);