aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/writefile.c
diff options
context:
space:
mode:
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);