mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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>
|
Mon Mar 2 12:52:16 EST 2009 Cole Robinson <crobinso@redhat.com>
|
||||||
|
|
||||||
* src/network_conf.c: Fix bridge generation loop counter.
|
* 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);
|
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");
|
vshPrintExtra(ctl, "-----------------------------------------\n");
|
||||||
|
|
||||||
for (i = 0; i < maxactive; i++) {
|
for (i = 0; i < maxactive; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user