From 2ce6b4bf248d68b42baf48f3d1163af6d4c7b962 Mon Sep 17 00:00:00 2001 From: Wang Shilong Date: Wed, 4 Sep 2013 23:22:30 +0800 Subject: [PATCH] Btrfs-progs: fix magic return value in btrfs-imgae.c Signed-off-by: Wang Shilong Signed-off-by: David Sterba Signed-off-by: Chris Mason --- btrfs-image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btrfs-image.c b/btrfs-image.c index 3ea3730..ab229f3 100644 --- a/btrfs-image.c +++ b/btrfs-image.c @@ -2588,5 +2588,5 @@ out: else fclose(out); - return ret; + return !!ret; } -- 2.7.4