diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/4-1.c b/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/4-1.c index fac3229f8b29ccad367fde3209847c7aeeebe9f6..0b38ea6ab38763a2ab14d9347d3b7768f43e2a00 100755 --- a/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/4-1.c +++ b/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/4-1.c @@ -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; }