[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH] apparmor: Fix compilation by removing remains from virCommand conversion
- From: Matthias Bolte <matthias bolte googlemail com>
- To: libvir-list redhat com
- Subject: [libvirt] [PATCH] apparmor: Fix compilation by removing remains from virCommand conversion
- Date: Sat, 14 May 2011 06:53:48 +0200
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]