diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-19 03:36:53 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-07-19 03:36:53 +0200 |
| commit | 157b7751e7b885ff39d92ea67564c85346ddc986 (patch) | |
| tree | 8ae6b7851a31d6221cc03c00561dc0fd9a16aabd | |
| parent | 64136bfd1670e1b3bae08684c6c4bb9dfc710043 (diff) | |
| download | plan9front-157b7751e7b885ff39d92ea67564c85346ddc986.tar.xz | |
devstream: fix mistake
| -rw-r--r-- | sys/src/9/port/devstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devstream.c b/sys/src/9/port/devstream.c index ee175f74e..8c150633e 100644 --- a/sys/src/9/port/devstream.c +++ b/sys/src/9/port/devstream.c @@ -425,7 +425,7 @@ streamdrain(Chan *c) qunlock(&s->wql); nexterror(); } - while(!streamdrained(s)) + while(!isdrained(s)) sleep(&s->wz, isdrained, s); qunlock(&s->wql); poperror(); |
