diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2016-01-14 13:05:55 -0500 |
---|---|---|
committer | Chris Michael <cpmichael@osg.samsung.com> | 2016-01-14 13:06:02 -0500 |
commit | 943f2df0069cf615904c08cd92f3b72592cfafb1 (patch) | |
tree | 6a867f4aec5afbf59cb3e8590b2023126703dd60 /src/lib/ecore_wl2/ecore_wl2_subsurf.c | |
parent | 01dc2540db2b16ef9a0453ac632af9c58f956884 (diff) | |
download | efl-943f2df0069cf615904c08cd92f3b72592cfafb1.tar.gz |
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.c | 6 |
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) subsurf->wl.surface = wl_compositor_create_surface(display->wl.compositor); if (!subsurf->wl.surface) { - ERR("Failed to create surface: %m"); + ERR("Failed to create surface"); goto surf_err; } @@ -53,7 +53,7 @@ ecore_wl2_subsurface_new(Ecore_Wl2_Window *window) subsurf->wl.surface, window->surface); if (!subsurf->wl.subsurface) { - ERR("Could not create subsurface: %m"); + ERR("Could not create subsurface"); goto sub_surf_err; } @@ -163,7 +163,7 @@ ecore_wl2_subsurface_opaque_region_set(Ecore_Wl2_Subsurface *subsurface, int x, wl_compositor_create_region(parent->display->wl.compositor); if (!region) { - ERR("Failed to create opaque region: %m"); + ERR("Failed to create opaque region"); return; } |