summaryrefslogtreecommitdiff
path: root/src/kqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kqueue.c')
-rw-r--r--src/kqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kqueue.c b/src/kqueue.c
index c2e859f8db9..d2f3d37e19c 100644
--- a/src/kqueue.c
+++ b/src/kqueue.c
@@ -163,7 +163,7 @@ will be reported only in case of the `rename' event. */)
/* Open file. */
file = ENCODE_FILE (file);
- fd = emacs_open (SSDATA (file), O_NONBLOCK | O_BINARY | O_RDONLY, 0);
+ fd = emacs_open (SSDATA (file), O_NONBLOCK | O_RDONLY, 0);
if (fd == -1)
report_file_error ("File cannot be opened", file);