aboutsummaryrefslogtreecommitdiff
path: root/src/libventi
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-12-14 20:06:43 +0000
committerrsc <devnull@localhost>2005-12-14 20:06:43 +0000
commit7d014832d8926780752591a74b8c5a2a08c30de4 (patch)
treef60a589fe01ce67b44062d5db7b00bed6e517d1c /src/libventi
parent1076c720dff8ea5f05dfc8f5c7c1cd192330eb63 (diff)
downloadplan9port-7d014832d8926780752591a74b8c5a2a08c30de4.tar.gz
plan9port-7d014832d8926780752591a74b8c5a2a08c30de4.tar.bz2
plan9port-7d014832d8926780752591a74b8c5a2a08c30de4.zip
better errors
Diffstat (limited to 'src/libventi')
-rw-r--r--src/libventi/cache.c1
-rw-r--r--src/libventi/file.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libventi/cache.c b/src/libventi/cache.c
index 8dcb52f5..be0d6ac4 100644
--- a/src/libventi/cache.c
+++ b/src/libventi/cache.c
@@ -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;
diff --git a/src/libventi/file.c b/src/libventi/file.c
index 9b250114..04605daf 100644
--- a/src/libventi/file.c
+++ b/src/libventi/file.c
@@ -1036,7 +1036,7 @@ filewrite1(VtFile *f, void *data, long count, vlong offset)
vtfilegetentry(f, &e);
if(count < 0 || offset < 0){
- werrstr("vtfilewrite: bad offset or count");
+ werrstr("bad offset or count");
return -1;
}