aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/root.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2009-05-25 02:11:27 -0700
committerRuss Cox <rsc@swtch.com>2009-05-25 02:11:27 -0700
commit75d048884cfcb7cc4404b384da50923e22224365 (patch)
treeb918a6a957b1f322ebb2f84c16092e103f91acda /src/cmd/venti/root.c
parent33b446b8bbfea80552d462296d27ad4114fbd3fb (diff)
downloadplan9port-75d048884cfcb7cc4404b384da50923e22224365.tar.gz
plan9port-75d048884cfcb7cc4404b384da50923e22224365.tar.bz2
plan9port-75d048884cfcb7cc4404b384da50923e22224365.zip
venti: 32-bit extensions to data structures
Diffstat (limited to 'src/cmd/venti/root.c')
-rw-r--r--src/cmd/venti/root.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/venti/root.c b/src/cmd/venti/root.c
index 5d67ad31..d41d44bc 100644
--- a/src/cmd/venti/root.c
+++ b/src/cmd/venti/root.c
@@ -38,7 +38,7 @@ threadmain(int argc, char *argv[])
if(argc == 0)
usage();
- buf = vtmallocz(VtMaxLumpSize);
+ buf = vtmallocz(8192);
z = vtdial(host);
if(z == nil)
@@ -52,7 +52,7 @@ threadmain(int argc, char *argv[])
fprint(2, "cannot parse score '%s': %r\n", argv[i]);
continue;
}
- n = vtread(z, score, VtRootType, buf, VtMaxLumpSize);
+ n = vtread(z, score, VtRootType, buf, 8192);
if(n < 0){
fprint(2, "could not read block %V: %r\n", score);
continue;