From: Liu Yuan <[email protected]>

Current debug info for e.g,
"get_vdi_bitmap_from(474) getting the vdi bitmap from 127.0.0.1"
looks rather redundant. So let's cut it off.

Signed-off-by: Liu Yuan <[email protected]>
---
 sheep/group.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sheep/group.c b/sheep/group.c
index 6513b14..b44e059 100644
--- a/sheep/group.c
+++ b/sheep/group.c
@@ -466,12 +466,12 @@ static int get_vdi_bitmap_from(struct 
sheepdog_node_list_entry *node)
 
        fd = connect_to(host, node->port);
        if (fd < 0) {
-               vprintf(SDOG_ERR, "unable to get the vdi bitmap from %s: %m\n", 
host);
+               vprintf(SDOG_ERR, "%s:%d. Failed: %m\n", host, node->port);
                ret = -SD_RES_EIO;
                goto out;
        }
 
-       vprintf(SDOG_ERR, "getting the vdi bitmap from %s\n", host);
+       vprintf(SDOG_ERR, "%s:%d\n", host, node->port);
 
        memset(&hdr, 0, sizeof(hdr));
        hdr.opcode = SD_OP_READ_VDIS;
-- 
1.7.8.rc3

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to