diff options
Diffstat (limited to 'src/cmd/venti/srv')
-rw-r--r-- | src/cmd/venti/srv/fmtbloom.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd/venti/srv/fmtbloom.c b/src/cmd/venti/srv/fmtbloom.c index 3c50d82f..aca5c533 100644 --- a/src/cmd/venti/srv/fmtbloom.c +++ b/src/cmd/venti/srv/fmtbloom.c @@ -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) @@ -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)){ |