summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/access.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/access.c')
-rw-r--r--otherlibs/unix/access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/access.c b/otherlibs/unix/access.c
index 7a7307084..6d81c2bcd 100644
--- a/otherlibs/unix/access.c
+++ b/otherlibs/unix/access.c
@@ -31,7 +31,7 @@
# else
# define R_OK 4/* test for read permission */
# define W_OK 2/* test for write permission */
-# define X_OK 4/* test for execute (search) permission */
+# define X_OK 1/* test for execute (search) permission */
# define F_OK 0/* test for presence of file */
# endif
#endif