summaryrefslogtreecommitdiff
path: root/core/src/xmake/binutils/extractlib.c
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-12 22:30:13 +0800
committerruki <[email protected]>2026-02-12 22:30:13 +0800
commit5dc13bb3a2439332d82f9e119c8f598c9ee3f4dd (patch)
tree34c7dc9635e70d9115c7542f156ce011d8e65b2e /core/src/xmake/binutils/extractlib.c
parent3acfe25582459f8eb3237d7ff64baaef706284f3 (diff)
improve tips
Diffstat (limited to 'core/src/xmake/binutils/extractlib.c')
-rw-r--r--core/src/xmake/binutils/extractlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/xmake/binutils/extractlib.c b/core/src/xmake/binutils/extractlib.c
index 5e6559082..fbfbacfef 100644
--- a/core/src/xmake/binutils/extractlib.c
+++ b/core/src/xmake/binutils/extractlib.c
@@ -74,7 +74,7 @@ tb_int_t xm_binutils_extractlib(lua_State *lua) {
tb_stream_ref_t istream = tb_stream_init_from_file(libraryfile, TB_FILE_MODE_RO);
if (!istream) {
lua_pushboolean(lua, tb_false);
- lua_pushfstring(lua, "extractlib: open %s failed", libraryfile);
+ lua_pushfstring(lua, "open %s failed", libraryfile);
return 2;
}
@@ -139,9 +139,9 @@ tb_int_t xm_binutils_extractlib(lua_State *lua) {
} else {
lua_pushboolean(lua, tb_false);
if (error_msg) {
- lua_pushfstring(lua, "extractlib: %s %s", error_msg, libraryfile);
+ lua_pushfstring(lua, "%s %s", error_msg, libraryfile);
} else {
- lua_pushfstring(lua, "extractlib: unknown error for %s", libraryfile);
+ lua_pushfstring(lua, "unknown error for %s", libraryfile);
}
return 2;
}