no mode on vtcachealloc

This commit is contained in:
rsc 2005-07-13 17:22:01 +00:00
parent 103335c208
commit 34d0c826bb
3 changed files with 3 additions and 3 deletions

View file

@ -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];