summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_launcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_launcher.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_launcher.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_launcher.c b/src/lib/ecore_drm/ecore_drm_launcher.c
index 35b8ffcd33..2baa550bbf 100644
--- a/src/lib/ecore_drm/ecore_drm_launcher.c
+++ b/src/lib/ecore_drm/ecore_drm_launcher.c
@@ -165,8 +165,7 @@ _ecore_drm_launcher_device_open_no_pending(const char *device, int flags)
165void 165void
166_ecore_drm_launcher_device_close(const char *device, int fd) 166_ecore_drm_launcher_device_close(const char *device, int fd)
167{ 167{
168 if ((logind) && (device)) 168 if ((logind) && (device)) _ecore_drm_logind_device_close(device);
169 return _ecore_drm_logind_device_close(device);
170 169
171 close(fd); 170 close(fd);
172} 171}