Add a missing '!'.

This commit is contained in:
davidxu 2003-02-26 01:56:14 +00:00
parent e4ed96dd58
commit 193655459b
2 changed files with 4 additions and 4 deletions

View File

@ -1600,8 +1600,8 @@ thread_userret(struct thread *td, struct trapframe *frame)
if ((kg->kg_completed == NULL) &&
(td->td_upcall->ku_flags & KUF_DOUPCALL) == 0) {
thread_update_usr_ticks(td, 0);
if (kg->kg_completed ||
(td->td_upcall->ku_flags & KUF_DOUPCALL)) {
if (!(kg->kg_completed ||
(td->td_upcall->ku_flags & KUF_DOUPCALL))) {
td->td_mailbox = NULL;
return (0);
}

View File

@ -1600,8 +1600,8 @@ thread_userret(struct thread *td, struct trapframe *frame)
if ((kg->kg_completed == NULL) &&
(td->td_upcall->ku_flags & KUF_DOUPCALL) == 0) {
thread_update_usr_ticks(td, 0);
if (kg->kg_completed ||
(td->td_upcall->ku_flags & KUF_DOUPCALL)) {
if (!(kg->kg_completed ||
(td->td_upcall->ku_flags & KUF_DOUPCALL))) {
td->td_mailbox = NULL;
return (0);
}