aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lfs.c b/src/lfs.c
index 1fa0a5e..6979820 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -15,7 +15,7 @@
15** lfs.touch (filepath [, atime [, mtime]]) 15** lfs.touch (filepath [, atime [, mtime]])
16** lfs.unlock (fh) 16** lfs.unlock (fh)
17** 17**
18** $Id: lfs.c,v 1.44 2008/01/16 22:29:26 mascarenhas Exp $ 18** $Id: lfs.c,v 1.45 2008/01/16 22:33:24 mascarenhas Exp $
19*/ 19*/
20 20
21#include <errno.h> 21#include <errno.h>
@@ -102,7 +102,7 @@ static int change_dir (lua_State *L) {
102static int get_dir (lua_State *L) { 102static int get_dir (lua_State *L) {
103 char *path; 103 char *path;
104 if ((path = getcwd(NULL, 0)) == NULL) { 104 if ((path = getcwd(NULL, 0)) == NULL) {
105 lua_pushnil(L) 105 lua_pushnil(L);
106 lua_pushstring(L, getcwd_error); 106 lua_pushstring(L, getcwd_error);
107 return 2; 107 return 2;
108 } 108 }