summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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})