diff options
author | rsc <devnull@localhost> | 2005-07-13 17:22:01 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-13 17:22:01 +0000 |
commit | 34d0c826bb2975dac5be0ffdd8db1e8d773bcd09 (patch) | |
tree | f294a297137653ac1374df04613634053c70f6aa /src/cmd | |
parent | 103335c20826c82e87f0acb45c49c7d235030778 (diff) | |
download | plan9port-34d0c826bb2975dac5be0ffdd8db1e8d773bcd09.tar.gz plan9port-34d0c826bb2975dac5be0ffdd8db1e8d773bcd09.tar.bz2 plan9port-34d0c826bb2975dac5be0ffdd8db1e8d773bcd09.zip |
no mode on vtcachealloc
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/vbackup/vbackup.c | 2 | ||||
-rw-r--r-- | src/cmd/vbackup/vcat.c | 2 | ||||
-rw-r--r-- | src/cmd/vbackup/vnfs.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/vbackup/vbackup.c b/src/cmd/vbackup/vbackup.c index 4fdaf3e4..39e1b29c 100644 --- a/src/cmd/vbackup/vbackup.c +++ b/src/cmd/vbackup/vbackup.c @@ -167,7 +167,7 @@ threadmain(int argc, char **argv) if(verbose) fprint(2, "cache %d blocks\n", csize); - c = vtcachealloc(z, bsize, csize, VtORDWR); + c = vtcachealloc(z, bsize, csize); zcache = c; /* diff --git a/src/cmd/vbackup/vcat.c b/src/cmd/vbackup/vcat.c index 581adcb8..1725ffdd 100644 --- a/src/cmd/vbackup/vcat.c +++ b/src/cmd/vbackup/vcat.c @@ -47,7 +47,7 @@ threadmain(int argc, char **argv) sysfatal("vtdial: %r"); if(vtconnect(z) < 0) sysfatal("vtconnect: %r"); - if((c = vtcachealloc(z, 16384, 32, VtOREAD)) == nil) + if((c = vtcachealloc(z, 16384, 32)) == nil) sysfatal("vtcache: %r"); if((disk = diskopenventi(c, score)) == nil) sysfatal("diskopenventi: %r"); diff --git a/src/cmd/vbackup/vnfs.c b/src/cmd/vbackup/vnfs.c index 6c6421c5..4e350f92 100644 --- a/src/cmd/vbackup/vnfs.c +++ b/src/cmd/vbackup/vnfs.c @@ -137,7 +137,7 @@ threadmain(int argc, char **argv) sysfatal("vtdial: %r"); if(vtconnect(z) < 0) sysfatal("vtconnect: %r"); - if((vcache = vtcachealloc(z, blocksize, cachesize, OREAD)) == nil) + if((vcache = vtcachealloc(z, blocksize, cachesize)) == nil) sysfatal("vtcache: %r"); configfile = argv[0]; |