diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ | |||
9 | ** lfs.lock (fh, mode) | 9 | ** lfs.lock (fh, mode) |
10 | ** lfs.unlock (fh) | 10 | ** lfs.unlock (fh) |
11 | ** | 11 | ** |
12 | ** $Id: lfs.c,v 1.10 2004/11/04 22:21:28 tuler Exp $ | 12 | ** $Id: lfs.c,v 1.11 2004/11/05 10:37:29 tomas Exp $ |
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include <errno.h> | 15 | #include <errno.h> |
@@ -403,7 +403,7 @@ static int file_info (lua_State *L) { | |||
403 | lua_pushliteral (L, "mode"); | 403 | lua_pushliteral (L, "mode"); |
404 | lua_pushstring (L, mode2string (info.st_mode)); | 404 | lua_pushstring (L, mode2string (info.st_mode)); |
405 | lua_rawset (L, -3); | 405 | lua_rawset (L, -3); |
406 | /* number or hard links to the file */ | 406 | /* number of hard links to the file */ |
407 | lua_pushliteral (L, "nlink"); | 407 | lua_pushliteral (L, "nlink"); |
408 | lua_pushnumber (L, (lua_Number)info.st_nlink); | 408 | lua_pushnumber (L, (lua_Number)info.st_nlink); |
409 | lua_rawset (L, -3); | 409 | lua_rawset (L, -3); |