提交 27f0fdd4 编写于 作者: G guzhihao4

Fix llvm15 build

Issue: #I6ID6E
Signed-off-by: Nguzhihao4 <guzhihao4@huawei.com>
Change-Id: I04bb940c47c2c3df7aafba8c3f5b7abdf4426cfc
上级 96b926be
......@@ -59,7 +59,7 @@ int main(void)
return PTS_UNRESOLVED;
}
if ((raise(SIGABRT) == -1) | (raise(SIGUSR2) == -1)) {
if ((raise(SIGABRT) == -1) || (raise(SIGUSR2) == -1)) {
perror("Unexpected error while attempting to setup test "
"pre-conditions");
return PTS_UNRESOLVED;
......@@ -76,7 +76,7 @@ int main(void)
}
if ((sigismember(&pending_set, SIGABRT) !=
1) | (sigismember(&pending_set, SIGUSR2) != 1)) {
1) || (sigismember(&pending_set, SIGUSR2) != 1)) {
perror("FAIL: sigismember did not return 1\n");
return PTS_UNRESOLVED;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册