summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_launcher.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_launcher.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_launcher.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_launcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_launcher.c b/src/lib/ecore_drm/ecore_drm_launcher.c
index 6ba92ecd2e..c9e1ce2489 100644
--- a/src/lib/ecore_drm/ecore_drm_launcher.c
+++ b/src/lib/ecore_drm/ecore_drm_launcher.c
@@ -21,7 +21,7 @@ _ecore_drm_launcher_cb_vt_switch(void *data, int type EINA_UNUSED, void *event)
21 vt = (keycode - KEY_F1 + 1); 21 vt = (keycode - KEY_F1 + 1);
22 22
23 if (!_ecore_drm_tty_switch(dev, vt)) 23 if (!_ecore_drm_tty_switch(dev, vt))
24 ERR("Failed to activate vt: %m"); 24 ERR("Failed to activate vt");
25 } 25 }
26 26
27 return ECORE_CALLBACK_PASS_ON; 27 return ECORE_CALLBACK_PASS_ON;