summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>2013-09-04 23:22:32 +0800
committerChris Mason <chris.mason@fusionio.com>2013-10-16 08:20:42 -0400
commit039a27cea48382fbc722e6fe016e469d66655832 (patch)
treefe0902ca7f20601e99582d46501101093e4fb088
parentaaf03176afbb244079e967d9f3c7aa7fbc03bb85 (diff)
Btrfs-progs: fix magic return value in send-test.c
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
-rw-r--r--send-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/send-test.c b/send-test.c
index cb1f57de..3775f5fd 100644
--- a/send-test.c
+++ b/send-test.c
@@ -454,5 +454,5 @@ int main(int argc, char **argv)
pthread_attr_destroy(&t_attr);
out:
- return ret;
+ return !!ret;
}