]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: change fprintf format specifiers
authorGuo Zhengkui <guozhengkui@vivo.com>
Sat, 19 Mar 2022 07:37:30 +0000 (15:37 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 21 Mar 2022 23:37:54 +0000 (16:37 -0700)
commitd3bb0d9c7fd69b3f7a19fb0acdf4417fe6bb8dc1
tree4f1b9ad9ecb6918b211d0fc55f6918776f22fe92
parent40a12467e091846e5a09098cbb73a4867c34f768
selftests: net: change fprintf format specifiers

`cur64`, `start64` and `ts_delta` are int64_t. Change format
specifiers in fprintf from `"%lu"` to `"%" PRId64` to adapt
to 32-bit and 64-bit systems.

Signed-off-by: Guo Zhengkui <guozhengkui@vivo.com>
Link: https://lore.kernel.org/r/20220319073730.5235-1-guozhengkui@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/txtimestamp.c