Skip to content

Commit

Permalink
[rtsan] Fix-forward TEST(TestRtsanInterceptors, PpollDiesWhenRealtime)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thurstond committed Dec 20, 2024
1 parent 7a4b3b4 commit d8e10d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ TEST(TestRtsanInterceptors, PpollDiesWhenRealtime) {
fds[0].fd = 0;
fds[0].events = POLLIN;

timespec ts = {0};
timespec ts = {0, 0};

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

Expand Down

0 comments on commit d8e10d1

Please sign in to comment.