From a72db18243a31498d4d03aa998864e6eca175255 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 6 Oct 2015 16:05:59 +0200 Subject: [PATCH] MINOR: lua: fix a spelling error in some error messages "unknown" was spelled "unkown". --- src/hlua.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hlua.c b/src/hlua.c index 9bfe34d1f..56dac4764 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -1261,7 +1261,7 @@ __LJMP static int hlua_del_acl(lua_State *L) ref = pat_ref_lookup(name); if (!ref) - WILL_LJMP(luaL_error(L, "'del_acl': unkown acl file '%s'", name)); + WILL_LJMP(luaL_error(L, "'del_acl': unknown acl file '%s'", name)); pat_ref_delete(ref, key); return 0; @@ -1283,7 +1283,7 @@ static int hlua_del_map(lua_State *L) ref = pat_ref_lookup(name); if (!ref) - WILL_LJMP(luaL_error(L, "'del_map': unkown acl file '%s'", name)); + WILL_LJMP(luaL_error(L, "'del_map': unknown acl file '%s'", name)); pat_ref_delete(ref, key); return 0; @@ -1305,7 +1305,7 @@ static int hlua_add_acl(lua_State *L) ref = pat_ref_lookup(name); if (!ref) - WILL_LJMP(luaL_error(L, "'add_acl': unkown acl file '%s'", name)); + WILL_LJMP(luaL_error(L, "'add_acl': unknown acl file '%s'", name)); if (pat_ref_find_elt(ref, key) == NULL) pat_ref_add(ref, key, NULL, NULL); @@ -1331,7 +1331,7 @@ static int hlua_set_map(lua_State *L) ref = pat_ref_lookup(name); if (!ref) - WILL_LJMP(luaL_error(L, "'set_map': unkown map file '%s'", name)); + WILL_LJMP(luaL_error(L, "'set_map': unknown map file '%s'", name)); if (pat_ref_find_elt(ref, key) != NULL) pat_ref_set(ref, key, value, NULL);