mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
virsh: tweak a format string to avoid emitting trailing space
* src/virsh.c (cmdNetworkList): Change format not to right-pad with spaces, as that would have required a trailing blank in an expected output file.
This commit is contained in:
parent
aedf57db70
commit
9883bec50d
@ -1,3 +1,10 @@
|
||||
Mon Mar 2 19:32:18 +0100 2009 Jim Meyering <meyering@redhat.com>
|
||||
|
||||
virsh: tweak a format string to avoid emitting trailing space
|
||||
* src/virsh.c (cmdNetworkList): Change format not to right-pad
|
||||
with spaces, as that would have required a trailing blank in
|
||||
an expected output file.
|
||||
|
||||
Mon Mar 2 12:52:16 EST 2009 Cole Robinson <crobinso@redhat.com>
|
||||
|
||||
* src/network_conf.c: Fix bridge generation loop counter.
|
||||
|
@ -2596,7 +2596,7 @@ cmdNetworkList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
|
||||
qsort(&inactiveNames[0], maxinactive, sizeof(char*), namesorter);
|
||||
}
|
||||
}
|
||||
vshPrintExtra(ctl, "%-20s %-10s %-10s\n", _("Name"), _("State"), _("Autostart"));
|
||||
vshPrintExtra(ctl, "%-20s %-10s %s\n", _("Name"), _("State"), _("Autostart"));
|
||||
vshPrintExtra(ctl, "-----------------------------------------\n");
|
||||
|
||||
for (i = 0; i < maxactive; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user