devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2e977a1e50ef4265aaa3e3212f6ed8b46015758a

commit 2e977a1e50ef4265aaa3e3212f6ed8b46015758a
Author: Seunghun Lee <[email protected]>
Date:   Wed Dec 10 08:04:32 2014 -0500

    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
---
 src/lib/ecore_drm/ecore_drm_launcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_launcher.c 
b/src/lib/ecore_drm/ecore_drm_launcher.c
index 74ec59d..dbe7303 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)
      }
    else
      {
-        fd = open(device, flags, flags | O_CLOEXEC);
+        fd = open(device, flags | O_CLOEXEC);
         if (fd < 0) return fd;
         if (fstat(fd, &s) == -1)
           {

-- 


Reply via email to