tprint args - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3d46902dccd9fa84ca2e7041739e702bfc9dadb7 | |
parent 8b025e0f61b6ee5d8104ffafc3b89a113eb21605 | |
Author: rsc | |
Date: Sat, 29 Oct 2005 17:39:52 +0000 print args Diffstat: M src/cmd/venti/srv/fmtbloom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- | |
diff --git a/src/cmd/venti/srv/fmtbloom.c b/src/cmd/venti/srv/fmtbloom.c | |
t@@ -24,7 +24,8 @@ threadmain(int argc, char *argv[]) statsinit(); size = 0; - nhash = nblocks = 0; + nhash = 0; + nblocks = 0; ARGBEGIN{ case 'n': if(nhash || nblocks) t@@ -67,7 +68,7 @@ threadmain(int argc, char *argv[]) if(size > MaxBloomSize){ fprint(2, "warning: not using entire %,lld bytes; using only %,lld bytes\n", - size, MaxBloomSize); + size, (vlong)MaxBloomSize); size = MaxBloomSize; } if(size&(size-1)){ |