From 75d048884cfcb7cc4404b384da50923e22224365 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 25 May 2009 02:11:27 -0700 Subject: venti: 32-bit extensions to data structures --- src/cmd/venti/root.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/venti/root.c') 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; -- cgit v1.2.3