[PATCH] apparmor: Fix compilation by removing remains from virCommand conversion

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

 



Commit aaf20355b87d3bfda7579a7f6a4a978e848635c3 was incomplete here and
missed to remove some parts.
---

Pushing this one under the build breaker rule.

 src/security/security_apparmor.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/security/security_apparmor.c b/src/security/security_apparmor.c
index 221e331..f47ded7 100644
--- a/src/security/security_apparmor.c
+++ b/src/security/security_apparmor.c
@@ -163,7 +163,7 @@ load_profile(virSecurityManagerPtr mgr,
              const char *fn,
              bool append)
 {
-    int rc = -1, status, ret;
+    int rc = -1;
     bool create = true;
     char *xml = NULL;
     virCommandPtr cmd;
@@ -194,9 +194,6 @@ load_profile(virSecurityManagerPtr mgr,
   clean:
     VIR_FREE(xml);
 
-    VIR_FORCE_CLOSE(pipefd[0]);
-    VIR_FORCE_CLOSE(pipefd[1]);
-
     return rc;
 }
 
-- 
1.7.0.4

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