summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-09-09 11:01:21 +0100
committerDaniel P. Berrange <berrange@redhat.com>2013-09-09 16:42:02 +0100
commit4351a4cda6d075182242bea44ccf662ae947bfe0 (patch)
treea13d5e11611b0dd6a5f7f135d12c268c84dbe8de
parent1e9fa100ab1bd470a84a36500edc5a59245f2ab5 (diff)
downloadlibvirt-python-split-4351a4cda6d075182242bea44ccf662ae947bfe0.zip
libvirt-python-split-4351a4cda6d075182242bea44ccf662ae947bfe0.tar.gz
libvirt-python-split-4351a4cda6d075182242bea44ccf662ae947bfe0.tar.xz
Remove use of VIR_FORCE_CLOSE
Replace VIR_FORCE_CLOSE with plain close() Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
-rw-r--r--libvirt-lxc-override.c2
1 files changed, 1 insertions, 1 deletions
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;