[PATCH 1/2] Fix indentation in cmdVcpuPin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 tools/virsh-domain.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 1d8225c..9e8d9d1 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -6522,14 +6522,14 @@ cmdVcpuPin(vshControl *ctl, const vshCmd *cmd)
             vshPrintExtra(ctl, "%s %s\n", _("VCPU:"), _("CPU Affinity"));
             vshPrintExtra(ctl, "----------------------------------\n");
             for (i = 0; i < ncpus; i++) {
-               if (got_vcpu && i != vcpu)
-                   continue;
-
-               vshPrint(ctl, "%4zu: ", i);
-               ret = vshPrintPinInfo(cpumap, cpumaplen, maxcpu, i);
-               vshPrint(ctl, "\n");
-               if (!ret)
-                   break;
+                if (got_vcpu && i != vcpu)
+                    continue;
+
+                vshPrint(ctl, "%4zu: ", i);
+                ret = vshPrintPinInfo(cpumap, cpumaplen, maxcpu, i);
+                vshPrint(ctl, "\n");
+                if (!ret)
+                    break;
             }
         }
     } else {
-- 
2.0.5

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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]