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

@ -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;
}