summaryrefslogtreecommitdiff
path: root/xmake/modules/net/ping.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-22 23:46:27 +0800
committerruki <[email protected]>2021-09-22 23:46:27 +0800
commit3fcbabd0562e8f3e413a80b150a56547643b3929 (patch)
tree75e51b6f868f960aeb415739854a0b440a61dfca /xmake/modules/net/ping.lua
parent5e614774a6cc59832b66d007c59d6da3b77f124b (diff)
fix ping
Diffstat (limited to 'xmake/modules/net/ping.lua')
-rw-r--r--xmake/modules/net/ping.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/net/ping.lua b/xmake/modules/net/ping.lua
index 5f555cccd..93e9b4bec 100644
--- a/xmake/modules/net/ping.lua
+++ b/xmake/modules/net/ping.lua
@@ -88,7 +88,7 @@ function main(hosts, opt)
end
-- trace
- vprint("pinging for the host(%s) ... %d ms", host, timeval)
+ vprint("pinging for the host(%s) ... %d ms", host, math.floor(timeval))
end
end
end, {total = #hosts})