[libvirt] [PATCH] conf: Reindent virDomainObjCheckActive

Jiri Denemark posted 1 patch 6 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/71872d822401766a71166a849055f7b3b4676fa9.1524044733.git.jdenemar@redhat.com
Test syntax-check passed
src/conf/domain_conf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[libvirt] [PATCH] conf: Reindent virDomainObjCheckActive
Posted by Jiri Denemark 6 years ago
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
---

Pushed as trivial.

 src/conf/domain_conf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index ae2135263e..5f1af911b7 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -6001,9 +6001,9 @@ int
 virDomainObjCheckActive(virDomainObjPtr dom)
 {
     if (!virDomainObjIsActive(dom)) {
-       virReportError(VIR_ERR_OPERATION_INVALID,
-                      "%s", _("domain is not running"));
-       return -1;
+        virReportError(VIR_ERR_OPERATION_INVALID,
+                       "%s", _("domain is not running"));
+        return -1;
     }
     return 0;
 }
-- 
2.17.0

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