fix problem in cache.

This commit is contained in:
rsc 2004-06-16 16:43:22 +00:00
parent 39ef727f46
commit 0c148046ed
4 changed files with 21 additions and 21 deletions

View file

@ -44,7 +44,7 @@ vtrootunpack(VtRoot *r, uchar *p)
vers = U16GET(p);
if(vers != VtRootVersion) {
werrstr("unknown root version");
return 0;
return -1;
}
p += 2;
memmove(r->name, p, sizeof(r->name));