ecore_evas/drm: Clarify error message if given device is not found.
authorStefan Schmidt <s.schmidt@samsung.com>
Mon, 8 Sep 2014 14:16:57 +0000 (16:16 +0200)
committerStefan Schmidt <s.schmidt@samsung.com>
Mon, 8 Sep 2014 14:21:24 +0000 (16:21 +0200)
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

index e60516a..a312b77 100644 (file)
@@ -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)))