summaryrefslogtreecommitdiff
path: root/xmake/core/base/poller.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-08-04 22:45:20 +0800
committerruki <[email protected]>2020-08-04 22:45:20 +0800
commit81c072eaa6eadde5f6427e0109226a7fa04691b0 (patch)
tree7243963c4614209145b441144093889fface5102 /xmake/core/base/poller.lua
parent8b08fbb9f5f0f54dd1232f4bf387932116dde47f (diff)
improve pushpointer
Diffstat (limited to 'xmake/core/base/poller.lua')
-rw-r--r--xmake/core/base/poller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/poller.lua b/xmake/core/base/poller.lua
index 4789a4d72..16d5fe74e 100644
--- a/xmake/core/base/poller.lua
+++ b/xmake/core/base/poller.lua
@@ -130,7 +130,7 @@ function poller:wait(timeout)
local events = v[3]
local pollerdata = self:_pollerdata(cdata)
if not pollerdata then
- return -1, string.format("no object data for cdata(%d)!", cdata)
+ return -1, string.format("no object data for cdata(%s)!", cdata)
end
local obj = pollerdata[1]
assert(obj and obj:otype() == otype and obj:cdata() == cdata)