summaryrefslogtreecommitdiff
path: root/xmake/modules/net/ping.lua
diff options
context:
space:
mode:
authorÂngelo Andrade Cirino <[email protected]>2022-01-10 10:23:17 -0300
committerÂngelo Andrade Cirino <[email protected]>2022-01-10 10:23:17 -0300
commited0c0c5e0249aa966ea7061b30710abdd0b09d87 (patch)
tree2a51c869a3aea1a093ed569e749bdf0465634a6c /xmake/modules/net/ping.lua
parent885d00da8caf74aeed758d030b9a1b50d9078e1f (diff)
parent2431dd7e6142ff98b55741cfd4de4d2e69f4f8b5 (diff)
Merged from upstream/master
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})