diff options
Diffstat (limited to 'appl/cmd/logfile.b')
| -rw-r--r-- | appl/cmd/logfile.b | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appl/cmd/logfile.b b/appl/cmd/logfile.b index 6ec8369e..6a234d23 100644 --- a/appl/cmd/logfile.b +++ b/appl/cmd/logfile.b @@ -87,7 +87,7 @@ logserver(fio: ref Sys->FileIO, bufsize: int) for (;;) alt { <-availchan => availcount++; - (off, count, fid, rc) := <-fio.read => + (nil, count, fid, rc) := <-fio.read => r := readers.get(fid); if (rc == nil) { if (r != nil) @@ -112,7 +112,7 @@ logserver(fio: ref Sys->FileIO, bufsize: int) r.rq = (count, rc) :: r.rq; } - (off, data, fid, wc) := <-fio.write => + (nil, data, nil, wc) := <-fio.write => if (wc == nil) continue; if ((n := buf.put(data)) < len data) |
