summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_tty.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_tty.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_tty.c2
1 files changed, 1 insertions, 1 deletions
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