mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
rptun ping: fix data format warning
Signed-off-by: wangyongrong <wangyongrong@xiaomi.com>
This commit is contained in:
@@ -178,7 +178,7 @@ static void rptun_ping_logout_rate(uint64_t len, clock_t avg)
|
|||||||
rateint = ratebits / 1000000;
|
rateint = ratebits / 1000000;
|
||||||
ratedec = ratebits - rateint * 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user