From 2b549cc050de17ec2263fd97a0abc0ae3564ad6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Mon, 4 Nov 2019 20:09:30 +0100 Subject: [PATCH] lua: fix copy&paste in error string MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When uci_set_confdir fails we should say so. Signed-off-by: Petr Å tetiar --- lua/uci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/uci.c b/lua/uci.c index f4dce89..323f81a 100644 --- a/lua/uci.c +++ b/lua/uci.c @@ -1006,7 +1006,7 @@ uci_lua_cursor(lua_State *L) case 1: if (lua_isstring(L, 1) && (uci_set_confdir(*u, luaL_checkstring(L, 1)) != UCI_OK)) - return luaL_error(L, "Unable to set savedir"); + return luaL_error(L, "Unable to set confdir"); break; default: break; -- 2.25.1