summaryrefslogtreecommitdiff
path: root/src/lib/elua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elua')
-rw-r--r--src/lib/elua/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elua/cache.c b/src/lib/elua/cache.c
index 99d7b6a220..d03d9bfb94 100644
--- a/src/lib/elua/cache.c
+++ b/src/lib/elua/cache.c
@@ -80,7 +80,7 @@ bc_tmp_open(const char *fname, char *buf, size_t buflen)
80#endif 80#endif
81 if (fd < 0) 81 if (fd < 0)
82 return NULL; 82 return NULL;
83 return fdopen(fd, "w"); 83 return fdopen(fd, "wb");
84} 84}
85 85
86static void 86static void