summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_device.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2016-01-14 13:05:55 -0500
committerChris Michael <cpmichael@osg.samsung.com>2016-01-14 13:06:02 -0500
commit943f2df0069cf615904c08cd92f3b72592cfafb1 (patch)
tree6a867f4aec5afbf59cb3e8590b2023126703dd60 /src/lib/ecore_drm/ecore_drm_device.c
parent01dc2540db2b16ef9a0453ac632af9c58f956884 (diff)
ecore_drm/ecore_wl2: logging: remove errant usage of %m
Summary: printf %m stringifies and prints errno. I've tried to remove its use anywhere that the immediately preceding function might not set errno or is a complicated function for which knowing errno doesn't really give any useful information. I've left a few of the drmMode calls because they're just wrappers around ioctl, which legitimately sets errno. @fix Reviewers: zmike, devilhorns Reviewed By: zmike, devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3572
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_device.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_device.c b/src/lib/ecore_drm/ecore_drm_device.c
index a91af954d6..80cabf3856 100644
--- a/src/lib/ecore_drm/ecore_drm_device.c
+++ b/src/lib/ecore_drm/ecore_drm_device.c
@@ -374,7 +374,7 @@ ecore_drm_device_open(Ecore_Drm_Device *dev)
374 /* try to create xkb context */ 374 /* try to create xkb context */
375 if (!(dev->xkb_ctx = _ecore_drm_device_cached_context_get(0))) 375 if (!(dev->xkb_ctx = _ecore_drm_device_cached_context_get(0)))
376 { 376 {
377 ERR("Failed to create xkb context: %m"); 377 ERR("Failed to create xkb context");
378 return EINA_FALSE; 378 return EINA_FALSE;
379 } 379 }
380 380
@@ -544,7 +544,7 @@ ecore_drm_device_software_setup(Ecore_Drm_Device *dev)
544 { 544 {
545 if (!(dev->dumb[i] = ecore_drm_fb_create(dev, w, h))) 545 if (!(dev->dumb[i] = ecore_drm_fb_create(dev, w, h)))
546 { 546 {
547 ERR("Could not create dumb framebuffer: %m"); 547 ERR("Could not create dumb framebuffer");
548 goto err; 548 goto err;
549 } 549 }
550 550