1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00

test-ndisc-ra: add assert_se() to make coverity happy

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-11-27 12:47:52 +00:00
parent 10a6e01eaa
commit ef51180b62

View File

@ -262,7 +262,7 @@ static int radv_recv(sd_event_source *s, int fd, uint32_t revents, void *userdat
unsigned char buf[168];
size_t i;
read(test_fd[0], &buf, sizeof(buf));
assert_se(read(test_fd[0], &buf, sizeof(buf)) == sizeof(buf));
/* router lifetime must be zero when test is stopped */
if (test_stopped) {