Skip to content

Commit e44d934

Browse files
committedJun 10, 2024·
Fix format printing in packet-linux
1 parent 8b1416f commit e44d934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/nfpcapd/packet_linux.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static void ReportStat(packetParam_t *param) {
215215
if (err < 0) {
216216
LogError("getsockopt(PACKET_STATISTICS) failed: %s", strerror(errno));
217217
} else {
218-
LogInfo("Stat: received: %d, dropped by OS/Buffer: %d, freeze_q_cnt: %u", pstat.tp_packets - last_stat.tp_packets,
218+
LogInfo("Stat: received: %u, dropped by OS/Buffer: %u, freeze_q_cnt: %u", pstat.tp_packets - last_stat.tp_packets,
219219
pstat.tp_drops - last_stat.tp_drops, pstat.tp_freeze_q_cnt - last_stat.tp_freeze_q_cnt);
220220
last_stat = pstat;
221221
}

0 commit comments

Comments
 (0)
Please sign in to comment.