forked from enlightenment/efl
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.
This commit is contained in:
parent
fd1b0053d7
commit
dc7910a7ef
|
@ -453,7 +453,7 @@ _ecore_evas_drm_init(const char *device)
|
||||||
/* try to find the device */
|
/* try to find the device */
|
||||||
if (!(dev = ecore_drm_device_find(device, NULL)))
|
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 */
|
/* try getting the default drm device */
|
||||||
if (!(dev = ecore_drm_device_find(NULL, NULL)))
|
if (!(dev = ecore_drm_device_find(NULL, NULL)))
|
||||||
|
|
Loading…
Reference in New Issue