bitkeeper revision 1.636.1.1 (3fcb7b62Mifz8pPYuvEwJUTNwxzVmg)

Propagate return values as far as possible.
This commit is contained in:
br260@laudney.cl.cam.ac.uk committed 2003-12-01 17:33:22 +00:00
1 parent ad5d9c688d
commit 4da09b3fde
1 file changed
+1 -3
+1 -3
View File
@@ -149,11 +149,9 @@ static inline int do_block_io_op(int xc_handle, block_io_op_t *op)
goto out1;
}
if ( do_xen_hypercall(xc_handle, &hypercall) < 0 )
if ( (ret = do_xen_hypercall(xc_handle, &hypercall)) < 0 )
goto out2;
ret = 0;
out2: (void)munlock(op, sizeof(*op));
out1: return ret;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.