From dc7910a7efaef2cdad999c2e46d92f551924cf5e Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Mon, 8 Sep 2014 16:16:57 +0200 Subject: [PATCH] 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 e60516a715..a312b776d6 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)))