|
|
9c6c51 |
From 840579c84fd2fb59a1f141892d18ae86f9772cdf Mon Sep 17 00:00:00 2001
|
|
|
9c6c51 |
Message-Id: <840579c84fd2fb59a1f141892d18ae86f9772cdf@dist-git>
|
|
|
9c6c51 |
From: John Ferlan <jferlan@redhat.com>
|
|
|
9c6c51 |
Date: Fri, 20 Jul 2018 07:52:12 -0400
|
|
|
9c6c51 |
Subject: [PATCH] tools: Fix typo generating adapter_wwpn field
|
|
|
9c6c51 |
|
|
|
9c6c51 |
https://bugzilla.redhat.com/show_bug.cgi?id=1601377
|
|
|
9c6c51 |
|
|
|
9c6c51 |
Fix typo from commit id d45bee449 for the parent_wwpn field
|
|
|
9c6c51 |
resulting in parent_wwnn being printed twice.
|
|
|
9c6c51 |
|
|
|
9c6c51 |
Signed-off-by: John Ferlan <jferlan@redhat.com>
|
|
|
9c6c51 |
Reviewed-by: Erik Skultety <eskultet@redhat.com>
|
|
|
9c6c51 |
(cherry picked from commit 313eaae3b5a4f9b1e94b153759b878614caecf34)
|
|
|
9c6c51 |
Reviewed-by: Erik Skultety <eskultet@redhat.com>
|
|
|
9c6c51 |
---
|
|
|
9c6c51 |
tools/virsh-pool.c | 2 +-
|
|
|
9c6c51 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9c6c51 |
|
|
|
9c6c51 |
diff --git a/tools/virsh-pool.c b/tools/virsh-pool.c
|
|
|
9c6c51 |
index cc49a5b96d..6faff781b2 100644
|
|
|
9c6c51 |
--- a/tools/virsh-pool.c
|
|
|
9c6c51 |
+++ b/tools/virsh-pool.c
|
|
|
9c6c51 |
@@ -371,7 +371,7 @@ virshBuildPoolXML(vshControl *ctl,
|
|
|
9c6c51 |
if (adapterParent)
|
|
|
9c6c51 |
virBufferAsprintf(&buf, " parent='%s'", adapterParent);
|
|
|
9c6c51 |
else if (adapterParentWwnn && adapterParentWwpn)
|
|
|
9c6c51 |
- virBufferAsprintf(&buf, " parent_wwnn='%s' parent_wwnn='%s'",
|
|
|
9c6c51 |
+ virBufferAsprintf(&buf, " parent_wwnn='%s' parent_wwpn='%s'",
|
|
|
9c6c51 |
adapterParentWwnn, adapterParentWwpn);
|
|
|
9c6c51 |
else if (adapterParentFabricWwn)
|
|
|
9c6c51 |
virBufferAsprintf(&buf, " parent_fabric_wwn='%s'",
|
|
|
9c6c51 |
--
|
|
|
9c6c51 |
2.18.0
|
|
|
9c6c51 |
|