[libvirt] [PATCH] virsh: fix informational message in iface-bridge command

Laine Stump laine at laine.org
Fri Feb 24 19:34:55 UTC 2012


See: https://bugzilla.redhat.com/show_bug.cgi?id=797066

The position of the bridge name and ethernet device name were
accidentally swapped in the message informing of success creating the
bridge.
---
 tools/virsh.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/virsh.c b/tools/virsh.c
index b97a888..66bbb0c 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -8974,7 +8974,7 @@ cmdInterfaceBridge(vshControl *ctl, const vshCmd *cmd)
     }
 
     vshPrint(ctl, _("Created bridge %s with attached device %s\n"),
-             if_name, br_name);
+             br_name, if_name);
 
     /* start it up unless requested not to */
     if (!nostart) {
-- 
1.7.7.6




More information about the libvir-list mailing list