forked from enlightenment/efl
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
This commit is contained in:
parent
fed49b9709
commit
2e977a1e50
|
@ -112,7 +112,7 @@ _ecore_drm_launcher_device_open_no_pending(const char *device, int flags)
|
|||
}
|
||||
else
|
||||
{
|
||||
fd = open(device, flags, flags | O_CLOEXEC);
|
||||
fd = open(device, flags | O_CLOEXEC);
|
||||
if (fd < 0) return fd;
|
||||
if (fstat(fd, &s) == -1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue