aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index babeaa28682..dc82b66dce8 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -562,7 +562,7 @@ openp (path, str, suffix, storeptr, exec_only)
562 if (exec_only) 562 if (exec_only)
563 fd = (access (fn, X_OK) == 0) ? 1 : -1; 563 fd = (access (fn, X_OK) == 0) ? 1 : -1;
564 else 564 else
565 fd = open (fn, O_RDONLY, 0); 565 fd = open (fn, 0, 0);
566 566
567 if (fd >= 0) 567 if (fd >= 0)
568 { 568 {