1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

test-fd-util: add assert_se to make coverity happy

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-11-27 21:51:11 +00:00
parent b0fe73d740
commit ca9b2b4dc1

View File

@ -104,7 +104,7 @@ static void test_open_serialization_fd(void) {
fd = open_serialization_fd("test");
assert_se(fd >= 0);
write(fd, "test\n", 5);
assert_se(write(fd, "test\n", 5) == 5);
}
static void test_acquire_data_fd_one(unsigned flags) {