Commit aec95ffd authored by Rob Latham's avatar Rob Latham
Browse files

bv_update: return 0 on success like other routines

parent dbc453d7
......@@ -385,7 +385,7 @@ struct bv_svc_provider : public tl::provider<bv_svc_provider>
{
int fd = getfd(file, flags, mode);
if (fd == -1) return -errno;
return 1;
return 0;
}
......
......@@ -36,7 +36,6 @@ int main(int argc, char **argv)
ret = bv_declare(client, filename, O_RDWR|O_CREAT, 0644);
if (ret != 0) printf("Error in bv_declare\n");
ret -= 1;
printf("stat:");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment