stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=dc7910a7efaef2cdad999c2e46d92f551924cf5e

commit dc7910a7efaef2cdad999c2e46d92f551924cf5e
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Mon Sep 8 16:16:57 2014 +0200

    ecore_evas/drm: Clarify error message if given device is not found.
    
    While it is bad that the given device is not found we fall back here
    to the default one. Still good to mention it in the error message as
    it can be confusing when we read that the device could not be found
    be it still works.
---
 src/modules/ecore_evas/engines/drm/ecore_evas_drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c 
b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
index e60516a..a312b77 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -453,7 +453,7 @@ _ecore_evas_drm_init(const char *device)
    /* try to find the device */
    if (!(dev = ecore_drm_device_find(device, NULL)))
      {
-        ERR("Could not find drm device with name: %s", device);
+        ERR("Could not find drm device with name: %s. Falling back to default 
device.", device);
 
         /* try getting the default drm device */
         if (!(dev = ecore_drm_device_find(NULL, NULL)))

-- 


Reply via email to