diff options
author | Peter Melnichenko <mpeterval@gmail.com> | 2016-05-04 15:33:43 +0300 |
---|---|---|
committer | Peter Melnichenko <mpeterval@gmail.com> | 2016-05-05 12:10:04 +0300 |
commit | 732f9e93091b7c7889d739696aed15ac1a57fde5 (patch) | |
tree | dcbbb16fb44b62fc89931b47555a3afb90bab2a7 | |
parent | 03e01ff9538a54be9f6b9ad85b5c95ddcc404c4c (diff) |
Add attribute name to error on invalid attribute in lfs.attributes
-rw-r--r-- | src/lfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -825,7 +825,7 @@ static int _file_info_ (lua_State *L, int (*st)(const char*, STAT_STRUCT*)) { } } /* member not found */ - return luaL_error(L, "invalid attribute name"); + return luaL_error(L, "invalid attribute name '%s'", member); } /* creates a table if none is given */ if (!lua_istable (L, 2)) { |