diff options
author | Seunghun Lee <shiin.lee@samsung.com> | 2014-12-10 08:04:32 -0500 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2014-12-10 08:04:38 -0500 |
commit | 2e977a1e50ef4265aaa3e3212f6ed8b46015758a (patch) | |
tree | 8d2d79900ccb7dab082d0376eadf8b1ea659b916 /src/lib/ecore_drm | |
parent | fed49b9709daf57a9a346eeebe6403183e9b3d45 (diff) |
ecore-drm: fix passing wrong argument to open().
Summary: remove unintended argument.
@fix
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1765
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_launcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_launcher.c b/src/lib/ecore_drm/ecore_drm_launcher.c index 74ec59d21e..dbe7303854 100644 --- a/src/lib/ecore_drm/ecore_drm_launcher.c +++ b/src/lib/ecore_drm/ecore_drm_launcher.c | |||
@@ -112,7 +112,7 @@ _ecore_drm_launcher_device_open_no_pending(const char *device, int flags) | |||
112 | } | 112 | } |
113 | else | 113 | else |
114 | { | 114 | { |
115 | fd = open(device, flags, flags | O_CLOEXEC); | 115 | fd = open(device, flags | O_CLOEXEC); |
116 | if (fd < 0) return fd; | 116 | if (fd < 0) return fd; |
117 | if (fstat(fd, &s) == -1) | 117 | if (fstat(fd, &s) == -1) |
118 | { | 118 | { |