Skip to content

Commit d8e10d1

Browse files
committed
[rtsan] Fix-forward TEST(TestRtsanInterceptors, PpollDiesWhenRealtime)
Buildbot breakage: home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp:1090:19: error: missing field 'tv_nsec' initializer [-Werror,-Wmissing-field-initializers] 1090 | timespec ts = {0}; introduced by https://github.com/llvm/llvm-project/pull/120366/files
1 parent 7a4b3b4 commit d8e10d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ TEST(TestRtsanInterceptors, PpollDiesWhenRealtime) {
10871087
fds[0].fd = 0;
10881088
fds[0].events = POLLIN;
10891089

1090-
timespec ts = {0};
1090+
timespec ts = {0, 0};
10911091

10921092
auto Func = [&fds, &ts]() { ppoll(fds, 1, &ts, nullptr); };
10931093

0 commit comments

Comments
 (0)