From 80c0a33267264b23e2d2e0e0c8fa8771dbb496a2 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 28 Aug 2014 12:12:34 -0400 Subject: [PATCH] ecore-drm: Print out failed device name during setup If we fail to setup an input device, let's print an error With the device name also Signed-off-by: Chris Michael --- src/lib/ecore_drm/ecore_drm_evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c b/src/lib/ecore_drm/ecore_drm_evdev.c index 0f781a43f4..6021c21fb1 100644 --- a/src/lib/ecore_drm/ecore_drm_evdev.c +++ b/src/lib/ecore_drm/ecore_drm_evdev.c @@ -786,7 +786,7 @@ _ecore_drm_evdev_device_create(Ecore_Drm_Seat *seat, const char *path, int fd) if (!_device_configure(edev)) { - ERR("Could not configure input device"); + ERR("Could not configure input device: %s", name); _ecore_drm_evdev_device_destroy(edev); return NULL; }