fence-virt: client: Do not truncate VM domains in list output

Don't truncate the domain string for VMs when listing their status
in the output of the list command.

Resolves: rhbz#1207422

Signed-off-by: Ryan McCabe <rmccabe@redhat.com>
This commit is contained in:
Ryan McCabe 2015-07-17 10:52:01 -04:00
parent 44deba6ee9
commit 4a749e3f7d

View File

@ -117,7 +117,7 @@ do_read_hostlist(int fd, int timeout)
strlen((char *)hinfo.domain) == 0)
break;
printf("%-20.20s %s %s\n", hinfo.domain, hinfo.uuid,
printf("%-32s %s %s\n", hinfo.domain, hinfo.uuid,
(hinfo.state == 1) ? "on" : "off");
} while (1);