[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libguestfs
Subject:    [Libguestfs] [PATCH 2/2] btrfs: change the return value of btrfs-set-seeding
From:       Wanlong Gao <gaowanlong () cn ! fujitsu ! com>
Date:       2012-05-15 14:29:20
Message-ID: 1337092160-8237-2-git-send-email-gaowanlong () cn ! fujitsu ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic