better errors

This commit is contained in:
rsc 2005-12-14 20:06:43 +00:00
parent 1076c720df
commit 7d014832d8
2 changed files with 1 additions and 2 deletions

View file

@ -424,7 +424,6 @@ vtcacheglobal(VtCache *c, uchar score[VtScoreSize], int type)
vtcachenread++;
n = vtread(c->z, score, type, b->data, c->blocksize);
if(n < 0){
werrstr("vtread %V: %r", score);
if(chattyventi)
fprint(2, "read %V: %r\n", score);
b->iostate = BioVentiError;