[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 2/2] btrfs: change the return value of btrfs-set-seeding



Change the return value from "r" to "0".

Signed-off-by: Wanlong Gao <gaowanlong cn fujitsu com>
---
 daemon/btrfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 23958f6..99d886f 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -617,7 +617,7 @@ do_btrfs_set_seeding (const char *device, int svalue)
   }
 
   free (err);
-  return r;
+  return 0;
 }
 
 int
-- 
1.7.10


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]