summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_subsurf.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_wl2/ecore_wl2_subsurf.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_wl2/ecore_wl2_subsurf.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_subsurf.c6
1 files changed, 3 insertions, 3 deletions
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