diff mbox series

[09/13] Lua Script: TRACE the name of the called function

Message ID 20240221082221.11997-10-stefano.babic@swupdate.org
State Accepted
Delegated to: Stefano Babic
Headers show
Series Extend Lua Environemnt and post-failure scripts | expand

Commit Message

Stefano Babic Feb. 21, 2024, 8:22 a.m. UTC
Signed-off-by: Stefano Babic <stefano.babic@swupdate.org>
---
 handlers/lua_scripthandler.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.34.1
diff mbox series

Patch

diff --git a/handlers/lua_scripthandler.c b/handlers/lua_scripthandler.c
index 08479ef4..83440e81 100644
--- a/handlers/lua_scripthandler.c
+++ b/handlers/lua_scripthandler.c
@@ -75,7 +75,7 @@  static int start_lua_script(struct img_type *img, void *data)

 	snprintf(filename, sizeof(filename),
 		"%s%s", tmp, img->fname);
-	TRACE("Calling Lua %s", filename);
+	TRACE("Calling Lua %s with %s", filename, fnname);

 	ret = run_lua_script(L, filename, fnname, img->type_data);