diff options
-rw-r--r-- | proc/wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/wait.c b/proc/wait.c index deac4e3e..d4fbe964 100644 --- a/proc/wait.c +++ b/proc/wait.c @@ -222,7 +222,7 @@ S_proc_wait (struct proc *p, if (options & WNOHANG) return EWOULDBLOCK; - if (p->p_waiting || p->msgportwait) + if (p->p_waiting || p->p_msgportwait) return EBUSY; p->p_waiting = 1; |