[vlc-commits] file: fix typo

Rémi Denis-Courmont git at videolan.org
Sat Aug 22 11:08:42 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 22 12:08:34 2015 +0300| [18da36de5988b98b7071b8bc007fa43f15d571b2] | committer: Rémi Denis-Courmont

file: fix typo

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18da36de5988b98b7071b8bc007fa43f15d571b2
---

 modules/access/file.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/file.c b/modules/access/file.c
index 7b05294..ec8b31b 100644
--- a/modules/access/file.c
+++ b/modules/access/file.c
@@ -192,7 +192,7 @@ int FileOpen( vlc_object_t *p_this )
 
 #if O_NONBLOCK
     /* Force blocking mode back */
-    fcntl (fd, fcntl (fd, F_GETFL) & ~O_NONBLOCK);
+    fcntl (fd, F_SETFL, fcntl (fd, F_GETFL) & ~O_NONBLOCK);
 #endif
 
     /* Directories can be opened and read from, but only readdir() knows



More information about the vlc-commits mailing list