commit 7d014832d8926780752591a74b8c5a2a08c30de4 from: rsc date: Wed Dec 14 20:06:43 2005 UTC better errors commit - 1076c720dff8ea5f05dfc8f5c7c1cd192330eb63 commit + 7d014832d8926780752591a74b8c5a2a08c30de4 blob - 8dcb52f51d6dfb0a420d8a8fa7ffeecff8aaefc5 blob + be0d6ac4e04cd50ec4598d84111206c7dcc04566 --- src/libventi/cache.c +++ src/libventi/cache.c @@ -424,7 +424,6 @@ vtcacheglobal(VtCache *c, uchar score[VtScoreSize], in 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; blob - 9b250114b042d84e621bddf051248bd5c037dbfb blob + 04605daf291403c0f729dab048f9b32f9707c17d --- src/libventi/file.c +++ src/libventi/file.c @@ -1036,7 +1036,7 @@ filewrite1(VtFile *f, void *data, long count, vlong of vtfilegetentry(f, &e); if(count < 0 || offset < 0){ - werrstr("vtfilewrite: bad offset or count"); + werrstr("bad offset or count"); return -1; }