Prasad Joshi
2009-Oct-17 09:22 UTC
[PATCH] btrfs-progs: Corrected return values from btrfsctl.c
btrfsctl.c should return 0 if ioctl succeeds Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com> --- diff --git a/btrfsctl.c b/btrfsctl.c index 66c4e89..d602fc4 100644 --- a/btrfsctl.c +++ b/btrfsctl.c @@ -232,8 +232,8 @@ int main(int ac, char **av) } printf("%s\n", BTRFS_BUILD_VERSION); if (ret) - exit(0); - else exit(1); + else + exit(0); } -- v0.19-3 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html