summaryrefslogtreecommitdiff
path: root/src/lib/elua/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elua/io.c')
-rw-r--r--src/lib/elua/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elua/io.c b/src/lib/elua/io.c
index d5b8a0c7d1..6835e9936f 100644
--- a/src/lib/elua/io.c
+++ b/src/lib/elua/io.c
@@ -10,7 +10,7 @@ get_cmdline_from_argv(const char *fname, const char **argv)
10 char pbuf[PATH_MAX]; 10 char pbuf[PATH_MAX];
11 const char *arg = NULL; 11 const char *arg = NULL;
12 12
13 FILE *testf = fopen(fname, "r"); 13 FILE *testf = fopen(fname, "rb");
14 if (!testf) 14 if (!testf)
15 return NULL; 15 return NULL;
16 16