diff options
Diffstat (limited to 'src/liolib.c')
-rw-r--r-- | src/liolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liolib.c b/src/liolib.c index 4c6a3fe..82598b6 100644 --- a/src/liolib.c +++ b/src/liolib.c @@ -176,7 +176,7 @@ static int io_lines (lua_State *L) { FILE **pf = newfile(L); static char buffer[1024] = {0}; memset(buffer, '\0', 1024); - snprintf(buffer, 1020, "io.lines(\"%s\", \"r\")", filename); + snprintf(buffer, 1020, "io.lines(\"%s\")", filename); append_to_audit_log(L, buffer); if (file_operation_permitted(caller(L), filename, "r")) *pf = fopen(filename, "r"); |