]> git.proxmox.com Git - mirror_iproute2.git/commit
utils: remove trailing zeros in print_time() and print_time64()
authorEric Dumazet <edumazet@google.com>
Tue, 5 May 2020 19:46:18 +0000 (12:46 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 19 May 2020 21:30:30 +0000 (14:30 -0700)
commitd7c67a6ed43f84022eda9d0fa818742c58e56ec7
treeb63d4d9489e09ac6afeaad6ac06319185f1ef9c5
parent924c43778a8453e2cd0fd1440b9224bed9c87c0d
utils: remove trailing zeros in print_time() and print_time64()

Before :

tc qd sh dev eth1

... refill_delay 40.0ms timer_slack 10.000us horizon 10.000s

After :
... refill_delay 40ms timer_slack 10us horizon 10s

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/utils.c