summaryrefslogtreecommitdiff
path: root/core/src/xmake
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-29 10:23:38 +0800
committerruki <[email protected]>2017-06-29 10:23:38 +0800
commit741d881be8b5f0ba62dd38bdb5f7fe32909f1263 (patch)
tree3e2a479cd5a482eae1da00614dacd037edf3fb20 /core/src/xmake
parentc45a4613ce40f939b52c2ccd883712ff30d54dcc (diff)
avoid detect the same program in the same time leading to deadlock
Diffstat (limited to 'core/src/xmake')
-rw-r--r--core/src/xmake/process/waitlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/process/waitlist.c b/core/src/xmake/process/waitlist.c
index 3e5d20aa0..b577c87f4 100644
--- a/core/src/xmake/process/waitlist.c
+++ b/core/src/xmake/process/waitlist.c
@@ -71,7 +71,7 @@ tb_int_t xm_process_waitlist(lua_State* lua)
if (count <= 0 || count > 64)
{
// error
- lua_pushfstring(lua, "invalid process count(%ld) for process.waitlist", count);
+ lua_pushfstring(lua, "invalid process count(%d) for process.waitlist", count);
lua_error(lua);
return 0;
}