Blame SOURCES/bz1207422-client_do_not_truncate_vm_domains_in_list_output.patch

796526
From 4a749e3f7de4c82446634a1b57d3877b7dc46223 Mon Sep 17 00:00:00 2001
796526
From: Ryan McCabe <rmccabe@redhat.com>
796526
Date: Fri, 17 Jul 2015 10:52:01 -0400
796526
Subject: [PATCH] fence-virt: client: Do not truncate VM domains in list output
796526
796526
Don't truncate the domain string for VMs when listing their status
796526
in the output of the list command.
796526
796526
Resolves: rhbz#1207422
796526
796526
Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
796526
---
796526
 client/mcast.c | 2 +-
796526
 1 file changed, 1 insertion(+), 1 deletion(-)
796526
796526
diff --git a/client/mcast.c b/client/mcast.c
796526
index a247e8c..f2654bd 100644
796526
--- a/client/mcast.c
796526
+++ b/client/mcast.c
796526
@@ -117,7 +117,7 @@ do_read_hostlist(int fd, int timeout)
796526
 		    strlen((char *)hinfo.domain) == 0)
796526
 			break;
796526
 
796526
-		printf("%-20.20s %s %s\n", hinfo.domain, hinfo.uuid,
796526
+		printf("%-32s %s %s\n", hinfo.domain, hinfo.uuid,
796526
 		       (hinfo.state == 1) ? "on" : "off");
796526
 
796526
 	} while (1);
796526
-- 
796526
2.4.3
796526