diff options
Diffstat (limited to 'src/libventi/root.c')
-rw-r--r-- | src/libventi/root.c | 2 |
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)); |