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

2012-02-24 Thread Laine Stump
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


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

2012-02-24 Thread Laine Stump
On 02/24/2012 02:34 PM, Laine Stump wrote:
 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) {

I pushed this as trivial :-)

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list