summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/drm/ecore_evas_drm.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/modules/ecore_evas/engines/drm/ecore_evas_drm.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/modules/ecore_evas/engines/drm/ecore_evas_drm.c')
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c6
1 files changed, 3 insertions, 3 deletions
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 9652144256..7f18ecaa54 100644
--- a/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
+++ b/src/modules/ecore_evas/engines/drm/ecore_evas_drm.c
@@ -563,21 +563,21 @@ _ecore_evas_drm_init(const char *device)
563 /* try to create sprites */ 563 /* try to create sprites */
564 if (!ecore_drm_sprites_create(dev)) 564 if (!ecore_drm_sprites_create(dev))
565 { 565 {
566 ERR("Could not create sprites: %m"); 566 ERR("Could not create sprites");
567 goto sprite_err; 567 goto sprite_err;
568 } 568 }
569 569
570 /* try to create outputs */ 570 /* try to create outputs */
571 if (!ecore_drm_outputs_create(dev)) 571 if (!ecore_drm_outputs_create(dev))
572 { 572 {
573 ERR("Could not create outputs: %m"); 573 ERR("Could not create outputs");
574 goto output_err; 574 goto output_err;
575 } 575 }
576 576
577 /* try to create inputs */ 577 /* try to create inputs */
578 if (!ecore_drm_inputs_create(dev)) 578 if (!ecore_drm_inputs_create(dev))
579 { 579 {
580 ERR("Could not create inputs: %m"); 580 ERR("Could not create inputs");
581 goto input_err; 581 goto input_err;
582 } 582 }
583 583