summaryrefslogtreecommitdiff
path: root/src/xen/xen_inotify.c
diff options
context:
space:
mode:
authorMatthias Bolte <matthias.bolte@googlemail.com>2011-04-24 11:48:00 +0200
committerMatthias Bolte <matthias.bolte@googlemail.com>2011-04-27 09:18:53 +0200
commit3ba5d77f3c817cfe8029dba8212d96d3a98a5ff9 (patch)
treeed59e664b12d37b049c3f7993f517dde61206611 /src/xen/xen_inotify.c
parent59a5981dd396f13276b9690c32fa850edcc97fa4 (diff)
downloadlibvirt-3ba5d77f3c817cfe8029dba8212d96d3a98a5ff9.tar.gz
Move call to virReportOOMError into virFileBuildPath
Suggested by Daniel P. Berrange
Diffstat (limited to 'src/xen/xen_inotify.c')
-rw-r--r--src/xen/xen_inotify.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xen/xen_inotify.c b/src/xen/xen_inotify.c
index d809c45489..9dde72cc22 100644
--- a/src/xen/xen_inotify.c
+++ b/src/xen/xen_inotify.c
@@ -415,7 +415,6 @@ xenInotifyOpen(virConnectPtr conn,
/* Build the full file path */
if (!(path = virFileBuildPath(priv->configDir, ent->d_name, NULL))) {
- virReportOOMError();
closedir(dh);
return -1;
}