summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_evdev.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_evdev.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 '')
-rw-r--r--src/lib/ecore_drm/ecore_drm_evdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_evdev.c b/src/lib/ecore_drm/ecore_drm_evdev.c
index b2c2b994ec..35534f51ff 100644
--- a/src/lib/ecore_drm/ecore_drm_evdev.c
+++ b/src/lib/ecore_drm/ecore_drm_evdev.c
@@ -120,14 +120,14 @@ _device_keyboard_setup(Ecore_Drm_Evdev *edev)
120 edev->xkb.keymap = _ecore_drm_device_cached_keymap_get(input->dev->xkb_ctx, NULL, 0); 120 edev->xkb.keymap = _ecore_drm_device_cached_keymap_get(input->dev->xkb_ctx, NULL, 0);
121 if (!edev->xkb.keymap) 121 if (!edev->xkb.keymap)
122 { 122 {
123 ERR("Failed to create keymap: %m"); 123 ERR("Failed to create keymap");
124 return; 124 return;
125 } 125 }
126 126
127 /* create xkb state */ 127 /* create xkb state */
128 if (!(edev->xkb.state = xkb_state_new(edev->xkb.keymap))) 128 if (!(edev->xkb.state = xkb_state_new(edev->xkb.keymap)))
129 { 129 {
130 ERR("Failed to create xkb state: %m"); 130 ERR("Failed to create xkb state");
131 return; 131 return;
132 } 132 }
133 133