aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lfs.c b/src/lfs.c
index a35413d..3c70d8e 100644
--- a/src/lfs.c
+++ b/src/lfs.c
@@ -825,7 +825,7 @@ static int _file_info_ (lua_State *L, int (*st)(const char*, STAT_STRUCT*)) {
825 } 825 }
826 } 826 }
827 /* member not found */ 827 /* member not found */
828 return luaL_error(L, "invalid attribute name"); 828 return luaL_error(L, "invalid attribute name '%s'", member);
829 } 829 }
830 /* creates a table if none is given */ 830 /* creates a table if none is given */
831 if (!lua_istable (L, 2)) { 831 if (!lua_istable (L, 2)) {