From: Ján Tomko Date: Fri, 20 Nov 2015 09:29:21 +0000 (+0100) Subject: security_selinux: fix indentation X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bfc29df3e0c2e1ec3af5addf420972676f24b6a1;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git security_selinux: fix indentation --- diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c index b8ebdcc73..11609f711 100644 --- a/src/security/security_selinux.c +++ b/src/security/security_selinux.c @@ -1177,7 +1177,7 @@ virSecuritySELinuxRestoreSecurityTPMFileLabelInt(virSecurityManagerPtr mgr, if ((cancel_path = virTPMCreateCancelPath(tpmdev)) != NULL) { if (virSecuritySELinuxRestoreSecurityFileLabel(mgr, - cancel_path) < 0) + cancel_path) < 0) rc = -1; VIR_FREE(cancel_path); } @@ -1691,14 +1691,14 @@ virSecuritySELinuxRestoreSecurityHostdevSubsysLabel(virSecurityManagerPtr mgr, scsihostsrc->target, scsihostsrc->unit, dev->readonly, dev->shareable); - if (!scsi) - goto done; + if (!scsi) + goto done; - ret = virSCSIDeviceFileIterate(scsi, virSecuritySELinuxRestoreSecuritySCSILabel, mgr); - virSCSIDeviceFree(scsi); + ret = virSCSIDeviceFileIterate(scsi, virSecuritySELinuxRestoreSecuritySCSILabel, mgr); + virSCSIDeviceFree(scsi); - break; - } + break; + } default: ret = 0;