diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-07-07 21:18:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-07 21:18:27 -0400 |
| commit | aaba4149374ad8a7a5035f94a01d4eb2013625c0 (patch) | |
| tree | 990ce8f439fa5bafba5b9ae9ec75e267dd37e75c /lib/systemd.c | |
| parent | 5ee7655ee9b0587fa812214efbfa5aceef196089 (diff) | |
| parent | f49e0be728d68a4caf8733ef77351c0ca4bef3d1 (diff) | |
Merge pull request #8991 from opensourcerouting/sd-coverity-fix
lib: fix coverity unused result warning
Diffstat (limited to 'lib/systemd.c')
| -rw-r--r-- | lib/systemd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/systemd.c b/lib/systemd.c index 7944c2493b..2238dc9f3d 100644 --- a/lib/systemd.c +++ b/lib/systemd.c @@ -66,8 +66,8 @@ static void systemd_send_information(const char *info) sun.sun_path[0] = '\0'; /* nothing we can do if this errors out... */ - sendto(sock, info, strlen(info), 0, (struct sockaddr *)&sun, - sizeof(sun)); + (void)sendto(sock, info, strlen(info), 0, (struct sockaddr *)&sun, + sizeof(sun)); close(sock); } |
