From 62698051c784234dacc55da478e93e39e6b35abe Mon Sep 17 00:00:00 2001 From: wangyongrong Date: Fri, 17 Nov 2023 12:41:14 +0800 Subject: [PATCH] rptun ping: fix data format warning Signed-off-by: wangyongrong --- drivers/rptun/rptun_ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rptun/rptun_ping.c b/drivers/rptun/rptun_ping.c index 105684e761..4c62712e94 100644 --- a/drivers/rptun/rptun_ping.c +++ b/drivers/rptun/rptun_ping.c @@ -178,7 +178,7 @@ static void rptun_ping_logout_rate(uint64_t len, clock_t avg) rateint = ratebits / 1000000; ratedec = ratebits - rateint * 1000000; - syslog(LOG_INFO, "rate: %d.%06d Mbits/sec\n", rateint, ratedec); + syslog(LOG_INFO, "rate: %zu.%06zu Mbits/sec\n", rateint, ratedec); } /****************************************************************************