aboutsummaryrefslogtreecommitdiff
path: root/src/libventi/root.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-06-16 16:43:22 +0000
committerrsc <devnull@localhost>2004-06-16 16:43:22 +0000
commit0c148046ed2d597f9eca97e03c8a0592016c8c10 (patch)
tree2a37fa281a8ac86d5a7cdd54f5964f90e20d6cf0 /src/libventi/root.c
parent39ef727f465306bad804814e58ee0a94224c9fec (diff)
downloadplan9port-0c148046ed2d597f9eca97e03c8a0592016c8c10.tar.gz
plan9port-0c148046ed2d597f9eca97e03c8a0592016c8c10.tar.bz2
plan9port-0c148046ed2d597f9eca97e03c8a0592016c8c10.zip
fix problem in cache.
Diffstat (limited to 'src/libventi/root.c')
-rw-r--r--src/libventi/root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libventi/root.c b/src/libventi/root.c
index c9449af8..5b4ccac6 100644
--- a/src/libventi/root.c
+++ b/src/libventi/root.c
@@ -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));