diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-02-26 01:56:14 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-02-26 01:56:14 +0000 |
commit | 193655459bf16415007a77ff9c6199725e0de54d (patch) | |
tree | c2c699bc2bfc2e583176d42f63b54de983e79f5b | |
parent | e4ed96dd58b8b6b42017e8e65e37c663947649ca (diff) | |
download | FreeBSD-src-193655459bf16415007a77ff9c6199725e0de54d.zip FreeBSD-src-193655459bf16415007a77ff9c6199725e0de54d.tar.gz |
Add a missing '!'.
-rw-r--r-- | sys/kern/kern_kse.c | 4 | ||||
-rw-r--r-- | sys/kern/kern_thread.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c index d410785..aa96b4e 100644 --- a/sys/kern/kern_kse.c +++ b/sys/kern/kern_kse.c @@ -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); } diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index d410785..aa96b4e 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -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); } |