summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/lib/ecore_drm/ecore_drm_device.c4
-rw-r--r--src/lib/ecore_drm/ecore_drm_evdev.c4
-rw-r--r--src/lib/ecore_drm/ecore_drm_fb.c4
-rw-r--r--src/lib/ecore_drm/ecore_drm_inputs.c6
-rw-r--r--src/lib/ecore_drm/ecore_drm_launcher.c2
-rw-r--r--src/lib/ecore_drm/ecore_drm_logind.c6
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c10
-rw-r--r--src/lib/ecore_drm/ecore_drm_tty.c2
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c8
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_dnd.c4
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c2
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_seat.c8
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_subsurf.c6
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_window.c10
-rw-r--r--src/modules/ecore_evas/engines/drm/ecore_evas_drm.c6
-rw-r--r--src/modules/evas/engines/gl_drm/evas_engine.c4
-rw-r--r--src/modules/evas/engines/gl_drm/evas_outbuf.c4
-rw-r--r--src/modules/evas/engines/wayland_egl/evas_engine.c2
-rw-r--r--src/modules/evas/engines/wayland_shm/evas_shm.c2
19 files changed, 47 insertions, 47 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
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
diff --git a/src/lib/ecore_drm/ecore_drm_fb.c b/src/lib/ecore_drm/ecore_drm_fb.c
index 00c062a761..234b06f17c 100644
--- a/src/lib/ecore_drm/ecore_drm_fb.c
+++ b/src/lib/ecore_drm/ecore_drm_fb.c
@@ -81,7 +81,7 @@ ecore_drm_fb_create(Ecore_Drm_Device *dev, int width, int height)
81 81
82 if (!_ecore_drm_fb_create2(dev->drm.fd, fb)) 82 if (!_ecore_drm_fb_create2(dev->drm.fd, fb))
83 { 83 {
84 WRN("Could not add framebuffer2: %m"); 84 WRN("Could not add framebuffer2");
85 if (drmModeAddFB(dev->drm.fd, fb->w, fb->h, 24, 32, 85 if (drmModeAddFB(dev->drm.fd, fb->w, fb->h, 24, 32,
86 fb->stride, fb->hdl, &fb->id)) 86 fb->stride, fb->hdl, &fb->id))
87 { 87 {
@@ -264,7 +264,7 @@ ecore_drm_fb_send(Ecore_Drm_Device *dev, Ecore_Drm_Fb *fb, Ecore_Drm_Pageflip_Cb
264 ret = drmHandleEvent(dev->drm.fd, &dev->drm_ctx); 264 ret = drmHandleEvent(dev->drm.fd, &dev->drm_ctx);
265 if (ret < 0) 265 if (ret < 0)
266 { 266 {
267 ERR("drmHandleEvent Failed: %m"); 267 ERR("drmHandleEvent Failed");
268 free(cb); 268 free(cb);
269 break; 269 break;
270 } 270 }
diff --git a/src/lib/ecore_drm/ecore_drm_inputs.c b/src/lib/ecore_drm/ecore_drm_inputs.c
index df46b19a7a..e3b5150752 100644
--- a/src/lib/ecore_drm/ecore_drm_inputs.c
+++ b/src/lib/ecore_drm/ecore_drm_inputs.c
@@ -191,7 +191,7 @@ _cb_input_dispatch(void *data, Ecore_Fd_Handler *hdlr EINA_UNUSED)
191 if (!(input = data)) return EINA_TRUE; 191 if (!(input = data)) return EINA_TRUE;
192 192
193 if (libinput_dispatch(input->libinput) != 0) 193 if (libinput_dispatch(input->libinput) != 0)
194 ERR("Failed to dispatch libinput events: %m"); 194 ERR("Failed to dispatch libinput events");
195 195
196 /* process pending events */ 196 /* process pending events */
197 _input_events_process(input); 197 _input_events_process(input);
@@ -226,7 +226,7 @@ ecore_drm_inputs_create(Ecore_Drm_Device *dev)
226 libinput_udev_create_context(&_input_interface, input, eeze_udev_get()); 226 libinput_udev_create_context(&_input_interface, input, eeze_udev_get());
227 if (!input->libinput) 227 if (!input->libinput)
228 { 228 {
229 ERR("Could not create libinput context: %m"); 229 ERR("Could not create libinput context");
230 goto err; 230 goto err;
231 } 231 }
232 232
@@ -236,7 +236,7 @@ ecore_drm_inputs_create(Ecore_Drm_Device *dev)
236 /* assign udev seat */ 236 /* assign udev seat */
237 if (libinput_udev_assign_seat(input->libinput, dev->seat) != 0) 237 if (libinput_udev_assign_seat(input->libinput, dev->seat) != 0)
238 { 238 {
239 ERR("Failed to assign seat: %m"); 239 ERR("Failed to assign seat");
240 goto err; 240 goto err;
241 } 241 }
242 242
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;
diff --git a/src/lib/ecore_drm/ecore_drm_logind.c b/src/lib/ecore_drm/ecore_drm_logind.c
index 833e945d45..47cb92f099 100644
--- a/src/lib/ecore_drm/ecore_drm_logind.c
+++ b/src/lib/ecore_drm/ecore_drm_logind.c
@@ -16,7 +16,7 @@ _ecore_drm_logind_vt_get(Ecore_Drm_Device *dev)
16 ret = sd_session_get_vt(dev->session, &dev->vt); 16 ret = sd_session_get_vt(dev->session, &dev->vt);
17 if (ret < 0) 17 if (ret < 0)
18 { 18 {
19 ERR("Could not get systemd tty: %m"); 19 ERR("Could not get systemd tty");
20 return EINA_FALSE; 20 return EINA_FALSE;
21 } 21 }
22 22
@@ -185,13 +185,13 @@ _ecore_drm_logind_connect(Ecore_Drm_Device *dev)
185 /* get session id */ 185 /* get session id */
186 if (sd_pid_get_session(getpid(), &dev->session) < 0) 186 if (sd_pid_get_session(getpid(), &dev->session) < 0)
187 { 187 {
188 ERR("Could not get systemd session: %m"); 188 ERR("Could not get systemd session");
189 return EINA_FALSE; 189 return EINA_FALSE;
190 } 190 }
191 191
192 if (sd_session_get_seat(dev->session, &seat) < 0) 192 if (sd_session_get_seat(dev->session, &seat) < 0)
193 { 193 {
194 ERR("Could not get systemd seat: %m"); 194 ERR("Could not get systemd seat");
195 return EINA_FALSE; 195 return EINA_FALSE;
196 } 196 }
197 else if (strcmp(dev->seat, seat)) 197 else if (strcmp(dev->seat, seat))
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index b0fdeb2e0f..c5fed37f6b 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -214,7 +214,7 @@ _ecore_drm_output_crtc_find(Ecore_Drm_Device *dev, drmModeRes *res, drmModeConne
214 /* get the encoder on this connector */ 214 /* get the encoder on this connector */
215 if (!(enc = drmModeGetEncoder(dev->drm.fd, conn->encoders[j]))) 215 if (!(enc = drmModeGetEncoder(dev->drm.fd, conn->encoders[j])))
216 { 216 {
217 WRN("Failed to get encoder: %m"); 217 WRN("Failed to get encoder");
218 continue; 218 continue;
219 } 219 }
220 220
@@ -904,7 +904,7 @@ ecore_drm_outputs_create(Ecore_Drm_Device *dev)
904 /* get the resources */ 904 /* get the resources */
905 if (!(res = drmModeGetResources(dev->drm.fd))) 905 if (!(res = drmModeGetResources(dev->drm.fd)))
906 { 906 {
907 ERR("Could not get resources for drm card: %m"); 907 ERR("Could not get resources for drm card");
908 return EINA_FALSE; 908 return EINA_FALSE;
909 } 909 }
910 910
@@ -1081,7 +1081,7 @@ ecore_drm_output_repaint(Ecore_Drm_Output *output)
1081 1081
1082 vbl.request.signal = (unsigned long)sprite; 1082 vbl.request.signal = (unsigned long)sprite;
1083 ret = drmWaitVBlank(dev->drm.fd, &vbl); 1083 ret = drmWaitVBlank(dev->drm.fd, &vbl);
1084 if (ret) ERR("Error Wait VBlank: %m"); 1084 if (ret) ERR("Error Wait VBlank");
1085 1085
1086 sprite->output = output; 1086 sprite->output = output;
1087 output->pending_vblank = EINA_TRUE; 1087 output->pending_vblank = EINA_TRUE;
@@ -1384,7 +1384,7 @@ ecore_drm_output_possible_crtc_get(Ecore_Drm_Output *output, unsigned int crtc)
1384 /* get the resources */ 1384 /* get the resources */
1385 if (!(res = drmModeGetResources(dev->drm.fd))) 1385 if (!(res = drmModeGetResources(dev->drm.fd)))
1386 { 1386 {
1387 ERR("Could not get resources for drm card: %m"); 1387 ERR("Could not get resources for drm card");
1388 return EINA_FALSE; 1388 return EINA_FALSE;
1389 } 1389 }
1390 1390
@@ -1399,7 +1399,7 @@ ecore_drm_output_possible_crtc_get(Ecore_Drm_Output *output, unsigned int crtc)
1399 /* get the encoder on this connector */ 1399 /* get the encoder on this connector */
1400 if (!(enc = drmModeGetEncoder(dev->drm.fd, conn->encoders[j]))) 1400 if (!(enc = drmModeGetEncoder(dev->drm.fd, conn->encoders[j])))
1401 { 1401 {
1402 WRN("Failed to get encoder: %m"); 1402 WRN("Failed to get encoder");
1403 continue; 1403 continue;
1404 } 1404 }
1405 1405
diff --git a/src/lib/ecore_drm/ecore_drm_tty.c b/src/lib/ecore_drm/ecore_drm_tty.c
index fdc2bcd5eb..f88cb4b34b 100644
--- a/src/lib/ecore_drm/ecore_drm_tty.c
+++ b/src/lib/ecore_drm/ecore_drm_tty.c
@@ -57,7 +57,7 @@ _ecore_drm_tty_setup(Ecore_Drm_Device *dev)
57 if ((fstat(dev->tty.fd, &st) == -1) || 57 if ((fstat(dev->tty.fd, &st) == -1) ||
58 (major(st.st_rdev) != TTY_MAJOR) || (minor(st.st_rdev) == 0)) 58 (major(st.st_rdev) != TTY_MAJOR) || (minor(st.st_rdev) == 0))
59 { 59 {
60 ERR("Failed to get stats for tty: %m"); 60 ERR("Failed to get stats for tty");
61 return EINA_FALSE; 61 return EINA_FALSE;
62 } 62 }
63 63
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index 3f9f64704c..ef36e0ede7 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -421,7 +421,7 @@ ecore_wl2_display_create(const char *name)
421 ewd->wl.display = wl_display_create(); 421 ewd->wl.display = wl_display_create();
422 if (!ewd->wl.display) 422 if (!ewd->wl.display)
423 { 423 {
424 ERR("Could not create wayland display: %m"); 424 ERR("Could not create wayland display");
425 goto create_err; 425 goto create_err;
426 } 426 }
427 427
@@ -432,7 +432,7 @@ ecore_wl2_display_create(const char *name)
432 n = wl_display_add_socket_auto(ewd->wl.display); 432 n = wl_display_add_socket_auto(ewd->wl.display);
433 if (!n) 433 if (!n)
434 { 434 {
435 ERR("Failed to add display socket: %m"); 435 ERR("Failed to add display socket");
436 goto socket_err; 436 goto socket_err;
437 } 437 }
438 438
@@ -442,7 +442,7 @@ ecore_wl2_display_create(const char *name)
442 { 442 {
443 if (wl_display_add_socket(ewd->wl.display, name)) 443 if (wl_display_add_socket(ewd->wl.display, name))
444 { 444 {
445 ERR("Failed to add display socket: %m"); 445 ERR("Failed to add display socket");
446 goto socket_err; 446 goto socket_err;
447 } 447 }
448 448
@@ -561,7 +561,7 @@ ecore_wl2_display_connect(const char *name)
561 ewd->wl.display = wl_display_connect(ewd->name); 561 ewd->wl.display = wl_display_connect(ewd->name);
562 if (!ewd->wl.display) 562 if (!ewd->wl.display)
563 { 563 {
564 ERR("Could not connect to display %s: %m", ewd->name); 564 ERR("Could not connect to display %s", ewd->name);
565 goto connect_err; 565 goto connect_err;
566 } 566 }
567 567
diff --git a/src/lib/ecore_wl2/ecore_wl2_dnd.c b/src/lib/ecore_wl2/ecore_wl2_dnd.c
index e25222cdf3..9f4dbb3e20 100644
--- a/src/lib/ecore_wl2/ecore_wl2_dnd.c
+++ b/src/lib/ecore_wl2/ecore_wl2_dnd.c
@@ -446,7 +446,7 @@ ecore_wl2_dnd_drag_types_set(Ecore_Wl2_Input *input, const char **types)
446 input->data.source = wl_data_device_manager_create_data_source(manager); 446 input->data.source = wl_data_device_manager_create_data_source(manager);
447 if (!input->data.source) 447 if (!input->data.source)
448 { 448 {
449 ERR("Could not create data source: %m"); 449 ERR("Could not create data source");
450 return; 450 return;
451 } 451 }
452 452
@@ -573,7 +573,7 @@ ecore_wl2_dnd_selection_set(Ecore_Wl2_Input *input, const char **types)
573 input->data.source = wl_data_device_manager_create_data_source(manager); 573 input->data.source = wl_data_device_manager_create_data_source(manager);
574 if (!input->data.source) 574 if (!input->data.source)
575 { 575 {
576 ERR("Could not create data source: %m"); 576 ERR("Could not create data source");
577 return EINA_FALSE; 577 return EINA_FALSE;
578 } 578 }
579 579
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c
index 4cf3c96206..9d0301a0d6 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -684,7 +684,7 @@ _keyboard_cb_keymap(void *data, struct wl_keyboard *keyboard EINA_UNUSED, unsign
684 input->xkb.state = xkb_state_new(input->xkb.keymap); 684 input->xkb.state = xkb_state_new(input->xkb.keymap);
685 if (!input->xkb.state) 685 if (!input->xkb.state)
686 { 686 {
687 ERR("Failed to create keymap state: %m"); 687 ERR("Failed to create keymap state");
688 xkb_map_unref(input->xkb.keymap); 688 xkb_map_unref(input->xkb.keymap);
689 input->xkb.keymap = NULL; 689 input->xkb.keymap = NULL;
690 return; 690 return;
diff --git a/src/lib/ecore_wl2/ecore_wl2_seat.c b/src/lib/ecore_wl2/ecore_wl2_seat.c
index 7bf26bb770..642f579519 100644
--- a/src/lib/ecore_wl2/ecore_wl2_seat.c
+++ b/src/lib/ecore_wl2/ecore_wl2_seat.c
@@ -33,7 +33,7 @@ _seat_cb_bind(struct wl_client *client, void *data, uint32_t version, uint32_t i
33 res = wl_resource_create(client, &wl_seat_interface, version, id); 33 res = wl_resource_create(client, &wl_seat_interface, version, id);
34 if (!res) 34 if (!res)
35 { 35 {
36 ERR("Failed to create seat resource: %m"); 36 ERR("Failed to create seat resource");
37 return; 37 return;
38 } 38 }
39 39
@@ -152,7 +152,7 @@ ecore_wl2_seat_create(Ecore_Wl2_Display *display, const char *name, const struct
152 seat, _seat_cb_bind); 152 seat, _seat_cb_bind);
153 if (!seat->global) 153 if (!seat->global)
154 { 154 {
155 ERR("Could not create seat global: %m"); 155 ERR("Could not create seat global");
156 free(seat); 156 free(seat);
157 return NULL; 157 return NULL;
158 } 158 }
@@ -255,7 +255,7 @@ ecore_wl2_pointer_resource_create(Ecore_Wl2_Pointer *ptr, struct wl_client *clie
255 res = wl_resource_create(client, &wl_pointer_interface, version, id); 255 res = wl_resource_create(client, &wl_pointer_interface, version, id);
256 if (!res) 256 if (!res)
257 { 257 {
258 ERR("Could not create pointer resource: %m"); 258 ERR("Could not create pointer resource");
259 wl_client_post_no_memory(client); 259 wl_client_post_no_memory(client);
260 return EINA_FALSE; 260 return EINA_FALSE;
261 } 261 }
@@ -315,7 +315,7 @@ ecore_wl2_keyboard_resource_create(Ecore_Wl2_Keyboard *kbd, struct wl_client *cl
315 res = wl_resource_create(client, &wl_keyboard_interface, version, id); 315 res = wl_resource_create(client, &wl_keyboard_interface, version, id);
316 if (!res) 316 if (!res)
317 { 317 {
318 ERR("Could not create keyboard resource: %m"); 318 ERR("Could not create keyboard resource");
319 wl_client_post_no_memory(client); 319 wl_client_post_no_memory(client);
320 return EINA_FALSE; 320 return EINA_FALSE;
321 } 321 }
diff --git a/src/lib/ecore_wl2/ecore_wl2_subsurf.c b/src/lib/ecore_wl2/ecore_wl2_subsurf.c
index 254df53db6..b18c9f3387 100644
--- a/src/lib/ecore_wl2/ecore_wl2_subsurf.c
+++ b/src/lib/ecore_wl2/ecore_wl2_subsurf.c
@@ -44,7 +44,7 @@ ecore_wl2_subsurface_new(Ecore_Wl2_Window *window)
44 subsurf->wl.surface = wl_compositor_create_surface(display->wl.compositor); 44 subsurf->wl.surface = wl_compositor_create_surface(display->wl.compositor);
45 if (!subsurf->wl.surface) 45 if (!subsurf->wl.surface)
46 { 46 {
47 ERR("Failed to create surface: %m"); 47 ERR("Failed to create surface");
48 goto surf_err; 48 goto surf_err;
49 } 49 }
50 50
@@ -53,7 +53,7 @@ ecore_wl2_subsurface_new(Ecore_Wl2_Window *window)
53 subsurf->wl.surface, window->surface); 53 subsurf->wl.surface, window->surface);
54 if (!subsurf->wl.subsurface) 54 if (!subsurf->wl.subsurface)
55 { 55 {
56 ERR("Could not create subsurface: %m"); 56 ERR("Could not create subsurface");
57 goto sub_surf_err; 57 goto sub_surf_err;
58 } 58 }
59 59
@@ -163,7 +163,7 @@ ecore_wl2_subsurface_opaque_region_set(Ecore_Wl2_Subsurface *subsurface, int x,
163 wl_compositor_create_region(parent->display->wl.compositor); 163 wl_compositor_create_region(parent->display->wl.compositor);
164 if (!region) 164 if (!region)
165 { 165 {
166 ERR("Failed to create opaque region: %m"); 166 ERR("Failed to create opaque region");
167 return; 167 return;
168 } 168 }
169 169
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c
index 8ab28393eb..dd921852c6 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -184,7 +184,7 @@ _ecore_wl2_window_type_set(Ecore_Wl2_Window *win)
184 win->geometry.x, win->geometry.y); 184 win->geometry.x, win->geometry.y);
185 if (!win->xdg_popup) 185 if (!win->xdg_popup)
186 { 186 {
187 ERR("Could not create xdg popup: %m"); 187 ERR("Could not create xdg popup");
188 return; 188 return;
189 } 189 }
190 190
@@ -257,7 +257,7 @@ _ecore_wl2_window_shell_surface_init(Ecore_Wl2_Window *window)
257 return; 257 return;
258 258
259surf_err: 259surf_err:
260 ERR("Failed to create surface for window: %m"); 260 ERR("Failed to create surface for window");
261} 261}
262 262
263EAPI Ecore_Wl2_Window * 263EAPI Ecore_Wl2_Window *
@@ -338,7 +338,7 @@ ecore_wl2_window_show(Ecore_Wl2_Window *window)
338 wl_compositor_create_surface(window->display->wl.compositor); 338 wl_compositor_create_surface(window->display->wl.compositor);
339 if (!window->surface) 339 if (!window->surface)
340 { 340 {
341 ERR("Failed to create surface for window: %m"); 341 ERR("Failed to create surface for window");
342 return; 342 return;
343 } 343 }
344 } 344 }
@@ -536,7 +536,7 @@ ecore_wl2_window_opaque_region_set(Ecore_Wl2_Window *window, int x, int y, int w
536 region = wl_compositor_create_region(window->display->wl.compositor); 536 region = wl_compositor_create_region(window->display->wl.compositor);
537 if (!region) 537 if (!region)
538 { 538 {
539 ERR("Failed to create opaque region: %m"); 539 ERR("Failed to create opaque region");
540 return; 540 return;
541 } 541 }
542 542
@@ -577,7 +577,7 @@ ecore_wl2_window_input_region_set(Ecore_Wl2_Window *window, int x, int y, int w,
577 region = wl_compositor_create_region(window->display->wl.compositor); 577 region = wl_compositor_create_region(window->display->wl.compositor);
578 if (!region) 578 if (!region)
579 { 579 {
580 ERR("Failed to create opaque region: %m"); 580 ERR("Failed to create opaque region");
581 return; 581 return;
582 } 582 }
583 583
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
diff --git a/src/modules/evas/engines/gl_drm/evas_engine.c b/src/modules/evas/engines/gl_drm/evas_engine.c
index bddaa7b0f9..a8261448fc 100644
--- a/src/modules/evas/engines/gl_drm/evas_engine.c
+++ b/src/modules/evas/engines/gl_drm/evas_engine.c
@@ -125,7 +125,7 @@ eng_gbm_init(Evas_Engine_Info_GL_Drm *info)
125 125
126 if (!(info->info.gbm = gbm_create_device(dev->drm.fd))) 126 if (!(info->info.gbm = gbm_create_device(dev->drm.fd)))
127 { 127 {
128 ERR("Coult not create gbm device: %m"); 128 ERR("Coult not create gbm device");
129 return EINA_FALSE; 129 return EINA_FALSE;
130 } 130 }
131 131
@@ -382,7 +382,7 @@ evgl_eng_native_window_create(void *data)
382 info->info.format, info->info.flags); 382 info->info.format, info->info.flags);
383 if (!surface) 383 if (!surface)
384 { 384 {
385 ERR("Could not create gl drm window: %m"); 385 ERR("Could not create gl drm window");
386 return NULL; 386 return NULL;
387 } 387 }
388 388
diff --git a/src/modules/evas/engines/gl_drm/evas_outbuf.c b/src/modules/evas/engines/gl_drm/evas_outbuf.c
index 084e8d9fe0..c882fa9fab 100644
--- a/src/modules/evas/engines/gl_drm/evas_outbuf.c
+++ b/src/modules/evas/engines/gl_drm/evas_outbuf.c
@@ -31,7 +31,7 @@ _evas_outbuf_gbm_surface_create(Outbuf *ob, int w, int h)
31 gbm_surface_create(ob->info->info.gbm, w, h, 31 gbm_surface_create(ob->info->info.gbm, w, h,
32 ob->info->info.format, ob->info->info.flags); 32 ob->info->info.format, ob->info->info.flags);
33 33
34 if (!ob->surface) ERR("Failed to create gbm surface: %m"); 34 if (!ob->surface) ERR("Failed to create gbm surface");
35} 35}
36 36
37static void 37static void
@@ -117,7 +117,7 @@ _evas_outbuf_buffer_swap(Outbuf *ob, Eina_Rectangle *rects, unsigned int count)
117 ob->priv.bo[ob->priv.curr] = gbm_surface_lock_front_buffer(ob->surface); 117 ob->priv.bo[ob->priv.curr] = gbm_surface_lock_front_buffer(ob->surface);
118 if (!ob->priv.bo[ob->priv.curr]) 118 if (!ob->priv.bo[ob->priv.curr])
119 { 119 {
120 WRN("Could not lock front buffer: %m"); 120 WRN("Could not lock front buffer");
121 return; 121 return;
122 } 122 }
123 123
diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.c b/src/modules/evas/engines/wayland_egl/evas_engine.c
index 44968b733c..4e7674d2ee 100644
--- a/src/modules/evas/engines/wayland_egl/evas_engine.c
+++ b/src/modules/evas/engines/wayland_egl/evas_engine.c
@@ -285,7 +285,7 @@ evgl_eng_native_window_create(void *data)
285 285
286 if (!(win = wl_egl_window_create(ob->info->info.surface, 1, 1))) 286 if (!(win = wl_egl_window_create(ob->info->info.surface, 1, 1)))
287 { 287 {
288 ERR("Could not create wl_egl window: %m"); 288 ERR("Could not create wl_egl window");
289 return NULL; 289 return NULL;
290 } 290 }
291 291
diff --git a/src/modules/evas/engines/wayland_shm/evas_shm.c b/src/modules/evas/engines/wayland_shm/evas_shm.c
index 04e7f7bedc..f54e7d11a1 100644
--- a/src/modules/evas/engines/wayland_shm/evas_shm.c
+++ b/src/modules/evas/engines/wayland_shm/evas_shm.c
@@ -184,7 +184,7 @@ _shm_data_create_from_pool(Shm_Pool *pool, int w, int h, Eina_Bool alpha)
184 (w * sizeof(int)), wl_format); 184 (w * sizeof(int)), wl_format);
185 if (!data->buffer) 185 if (!data->buffer)
186 { 186 {
187 ERR("Could not create buffer from pool: %m"); 187 ERR("Could not create buffer from pool");
188 goto err; 188 goto err;
189 } 189 }
190 190