From 3fcbabd0562e8f3e413a80b150a56547643b3929 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 22 Sep 2021 23:46:27 +0800 Subject: fix ping --- xmake/modules/net/ping.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/net/ping.lua') 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}) -- cgit v1.3.1