aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/writefile.c
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2011-11-08 09:02:36 -0500
committerRuss Cox <rsc@swtch.com>2011-11-08 09:02:36 -0500
commitdb60da46b3255502597124a870d7b8714d659749 (patch)
tree37b46d7cd4399ba698a15c8a05ca5178bdbc6b7e /src/cmd/venti/writefile.c
parent4544da52005bf0af3bb05a73f4e02ce35117aae0 (diff)
downloadplan9port-db60da46b3255502597124a870d7b8714d659749.tar.gz
plan9port-db60da46b3255502597124a870d7b8714d659749.tar.bz2
plan9port-db60da46b3255502597124a870d7b8714d659749.zip
venti: fix vtcachealloc and VtMaxLumpSize
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5309073
Diffstat (limited to 'src/cmd/venti/writefile.c')
-rw-r--r--src/cmd/venti/writefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/writefile.c b/src/cmd/venti/writefile.c
index 19a26fa6..21117126 100644
--- a/src/cmd/venti/writefile.c
+++ b/src/cmd/venti/writefile.c
@@ -65,7 +65,7 @@ threadmain(int argc, char *argv[])
sysfatal("vtconnect: %r");
// write file
- c = vtcachealloc(z, Blocksize, 32);
+ c = vtcachealloc(z, Blocksize*32);
if(c == nil)
sysfatal("vtcachealloc: %r");
f = vtfilecreateroot(c, Blocksize, Blocksize, VtDataType);