mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
vbackup: update to new libventi interface
This commit is contained in:
parent
4a34106c7d
commit
e781b7b60a
2 changed files with 2 additions and 2 deletions
|
@ -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)) == nil)
|
||||
if((c = vtcachealloc(z, 16384*32)) == nil)
|
||||
sysfatal("vtcache: %r");
|
||||
if((disk = diskopenventi(c, score)) == nil)
|
||||
sysfatal("diskopenventi: %r");
|
||||
|
|
|
@ -143,7 +143,7 @@ threadmain(int argc, char **argv)
|
|||
sysfatal("vtdial: %r");
|
||||
if(vtconnect(z) < 0)
|
||||
sysfatal("vtconnect: %r");
|
||||
if((vcache = vtcachealloc(z, blocksize, cachesize)) == nil)
|
||||
if((vcache = vtcachealloc(z, blocksize*cachesize)) == nil)
|
||||
sysfatal("vtcache: %r");
|
||||
|
||||
configfile = argv[0];
|
||||
|
|
Loading…
Reference in a new issue