aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-07-03 22:42:11 -0400
committerRuss Cox <rsc@swtch.com>2008-07-03 22:42:11 -0400
commitcd87898f5db211b3485d8cad2c00ea356ca96361 (patch)
tree1aa21123e306d432e8a80daf82277609b7ddd700 /src/cmd/venti
parentce31e3d40bf99dc31dbf3df47356c6f7a540e98d (diff)
downloadplan9port-cd87898f5db211b3485d8cad2c00ea356ca96361.tar.gz
plan9port-cd87898f5db211b3485d8cad2c00ea356ca96361.tar.bz2
plan9port-cd87898f5db211b3485d8cad2c00ea356ca96361.zip
venti: more detail in index divisor too coarse message
Diffstat (limited to 'src/cmd/venti')
-rw-r--r--src/cmd/venti/srv/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/index.c b/src/cmd/venti/srv/index.c
index d751b98f..0cb0a039 100644
--- a/src/cmd/venti/srv/index.c
+++ b/src/cmd/venti/srv/index.c
@@ -302,7 +302,7 @@ newindex(char *name, ISect **sects, int n)
div = (((u64int)1 << 32) + nb - 1) / nb;
ub = (((u64int)1 << 32) - 1) / div + 1;
if(div < 100){
- seterr(EBug, "index divisor too coarse");
+ seterr(EBug, "index divisor too coarse [%lld buckets]", nb);
return nil;
}
if(ub > nb){