[libvirt] [PATCH] Fix up a few minor indentation issues.

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

 



Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx>
---
 src/xen_internal.c  |    8 ++++----
 src/xend_internal.c |    2 +-
 src/xm_internal.c   |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/xen_internal.c b/src/xen_internal.c
index b6bf10d..ae78f84 100644
--- a/src/xen_internal.c
+++ b/src/xen_internal.c
@@ -1147,7 +1147,7 @@ static const char *str_cap = "cap";
  */
 int
 xenHypervisorGetSchedulerParameters(virDomainPtr domain,
-                                 virSchedParameterPtr params, int *nparams)
+                                    virSchedParameterPtr params, int *nparams)
 {
     xenUnifiedPrivatePtr priv;
 
@@ -1209,19 +1209,19 @@ xenHypervisorGetSchedulerParameters(virDomainPtr domain,
                     return(-1);
 
                 strncpy (params[0].field, str_weight, VIR_DOMAIN_SCHED_FIELD_LENGTH);
-        params[0].field[VIR_DOMAIN_SCHED_FIELD_LENGTH-1] = '\0';
+                params[0].field[VIR_DOMAIN_SCHED_FIELD_LENGTH-1] = '\0';
                 params[0].type = VIR_DOMAIN_SCHED_FIELD_UINT;
                 params[0].value.ui = op_dom.u.getschedinfo.u.credit.weight;
 
                 strncpy (params[1].field, str_cap, VIR_DOMAIN_SCHED_FIELD_LENGTH);
-        params[1].field[VIR_DOMAIN_SCHED_FIELD_LENGTH-1] = '\0';
+                params[1].field[VIR_DOMAIN_SCHED_FIELD_LENGTH-1] = '\0';
                 params[1].type = VIR_DOMAIN_SCHED_FIELD_UINT;
                 params[1].value.ui = op_dom.u.getschedinfo.u.credit.cap;
 
                 *nparams = 2;
                 break;
             default:
-        virXenErrorFunc(domain->conn, VIR_ERR_INVALID_ARG, __FUNCTION__,
+                virXenErrorFunc(domain->conn, VIR_ERR_INVALID_ARG, __FUNCTION__,
                         "Unknown scheduler", op_sys.u.getschedulerid.sched_id);
                 return -1;
         }
diff --git a/src/xend_internal.c b/src/xend_internal.c
index 2585703..7bcee7d 100644
--- a/src/xend_internal.c
+++ b/src/xend_internal.c
@@ -4732,7 +4732,7 @@ static const char *str_cap = "cap";
  */
 static int
 xenDaemonGetSchedulerParameters(virDomainPtr domain,
-                                 virSchedParameterPtr params, int *nparams)
+                                virSchedParameterPtr params, int *nparams)
 {
     xenUnifiedPrivatePtr priv;
     struct sexpr *root;
diff --git a/src/xm_internal.c b/src/xm_internal.c
index c869120..b7f9e67 100644
--- a/src/xm_internal.c
+++ b/src/xm_internal.c
@@ -1418,7 +1418,7 @@ xenXMDomainConfigParse(virConnectPtr conn, virConfPtr conf) {
 no_memory:
     virReportOOMError(conn);
     /* fallthrough */
-  cleanup:
+cleanup:
     virDomainGraphicsDefFree(graphics);
     virDomainNetDefFree(net);
     virDomainDiskDefFree(disk);
-- 
1.6.0.6

--
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]