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:
Seunghun Lee 2014-12-10 08:04:32 -05:00 committed by Chris Michael
parent fed49b9709
commit 2e977a1e50
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{