summaryrefslogtreecommitdiff
path: root/appl/cmd/ramfile.b
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-01-16 13:39:58 +0000
committerCharles.Forsyth <devnull@localhost>2008-01-16 13:39:58 +0000
commit3f1f06c5d12b24c4061e5123acabf72348ff45a2 (patch)
treed40487b0f5d3a46c5e1cefe288f9a74b8494d9a7 /appl/cmd/ramfile.b
parentca1042d3d05e5e9b2b5094b04197c96ec3b34bfe (diff)
20080116-1340
Diffstat (limited to 'appl/cmd/ramfile.b')
-rw-r--r--appl/cmd/ramfile.b4
1 files changed, 2 insertions, 2 deletions
diff --git a/appl/cmd/ramfile.b b/appl/cmd/ramfile.b
index 677bf18b..3451d7df 100644
--- a/appl/cmd/ramfile.b
+++ b/appl/cmd/ramfile.b
@@ -52,7 +52,7 @@ init(nil: ref Draw->Context, argv: list of string)
server(fio: ref Sys->FileIO, data: array of byte)
{
for (;;) alt {
- (offset, count, fid, rc) := <-fio.read =>
+ (offset, count, nil, rc) := <-fio.read =>
if (rc != nil) {
if (offset > len data)
rc <-= (nil, nil);
@@ -63,7 +63,7 @@ server(fio: ref Sys->FileIO, data: array of byte)
rc <-= (data[offset:end], nil);
}
}
- (offset, d, fid, wc) := <-fio.write =>
+ (offset, d, nil, wc) := <-fio.write =>
if (wc != nil) {
if (offset == 0)
data = array[0] of byte;