[PATCH libvirt-python 14/17] Remove use of VIR_FORCE_CLOSE

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

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

Replace VIR_FORCE_CLOSE with plain close()

Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
 libvirt-lxc-override.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-lxc-override.c b/libvirt-lxc-override.c
index 6f88d85..bd7b6ce 100644
--- a/libvirt-lxc-override.c
+++ b/libvirt-lxc-override.c
@@ -93,7 +93,7 @@ libvirt_lxc_virDomainLxcOpenNamespace(PyObject *self ATTRIBUTE_UNUSED,
 
 error:
     for (i = 0; i < c_retval; i++) {
-        VIR_FORCE_CLOSE(fdlist[i]);
+        close(fdlist[i]);
     }
     free(fdlist);
     return VIR_PY_NONE;
-- 
1.8.3.1

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