summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proc/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc/msg.c b/proc/msg.c
index 5091205f..ea5490a4 100644
--- a/proc/msg.c
+++ b/proc/msg.c
@@ -1,5 +1,5 @@
/* Message port manipulations
- Copyright (C) 1994 Free Software Foundation
+ Copyright (C) 1994, 1995 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -107,7 +107,7 @@ S_proc_getmsgport (struct proc *callerp,
if (p->p_deadmsg)
{
struct getmsgport_c *c = &callerp->p_continuation.getmsgport_c;
- if (callerp->p_msgportwait)
+ if (callerp->p_msgportwait || callerp->p_waiting)
return EBUSY;
c->reply_port = reply_port;
c->reply_port_type = reply_port_type;