aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/venti/srv/bloom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/venti/srv/bloom.c')
-rw-r--r--src/cmd/venti/srv/bloom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/venti/srv/bloom.c b/src/cmd/venti/srv/bloom.c
index d0a5c9d9..e8defb4a 100644
--- a/src/cmd/venti/srv/bloom.c
+++ b/src/cmd/venti/srv/bloom.c
@@ -163,7 +163,7 @@ inbloomfilter(Bloom *b, u8int *score)
rlock(&b->lk);
r = _inbloomfilter(b, score);
runlock(&b->lk);
- ms = ms - msec();
+ ms = msec() - ms;
addstat2(StatBloomLookup, 1, StatBloomLookupTime, ms);
if(r)
addstat(StatBloomMiss, 1);