diff options
| -rw-r--r-- | sys/src/9/port/devcons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devcons.c b/sys/src/9/port/devcons.c index 039108540..808683451 100644 --- a/sys/src/9/port/devcons.c +++ b/sys/src/9/port/devcons.c @@ -302,7 +302,7 @@ pprint(char *fmt, ...) return 0; c = up->fgrp->fd[2]; - if(c==nil || (c->mode!=OWRITE && c->mode!=ORDWR)) + if(c==nil || (c->flag&CMSG)!=0 || (c->mode!=OWRITE && c->mode!=ORDWR)) return 0; n = snprint(buf, sizeof buf, "%s %lud: ", up->text, up->pid); va_start(arg, fmt); |
