diff options
| author | forsyth <forsyth@vitanuova.com> | 2012-03-04 23:30:18 +0000 |
|---|---|---|
| committer | forsyth <forsyth@vitanuova.com> | 2012-03-04 23:30:18 +0000 |
| commit | ad4c862fd80d3ad38a6464a9ea169a78354a77fc (patch) | |
| tree | 60bb8dc30248caf99b198989152aca6898352cf9 /appl/cmd | |
| parent | 1e1b493dfc048d301ef6b41377f0a3665ee7f3fc (diff) | |
20120304-2330
Diffstat (limited to 'appl/cmd')
| -rw-r--r-- | appl/cmd/rawdbfs.b | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/appl/cmd/rawdbfs.b b/appl/cmd/rawdbfs.b index cb2daf2c..0b59167e 100644 --- a/appl/cmd/rawdbfs.b +++ b/appl/cmd/rawdbfs.b @@ -179,7 +179,7 @@ init(ctxt: ref Draw->Context, args: list of string) df := bufio->open(file, Sys->ORDWR); if(df == nil && empty){ - (rc, d) := sys->stat(file); + (rc, nil) := sys->stat(file); if(rc < 0) df = bufio->create(file, Sys->ORDWR, 8r600); } @@ -246,7 +246,6 @@ Serve: sys->fprint(stderr, "dbfs: fatal read error: %s\n", m.error); break Serve; Open => - c := srv.getfid(m.fid); open(srv, m); Read => (c, err) := srv.canread(m); |
