aboutsummaryrefslogtreecommitdiff
path: root/print-sflow.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-08-07 11:59:11 +0200
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2019-08-08 11:31:52 +0200
commitaf1883866321fb94bbdca9013ea665d890549104 (patch)
treeaa17093a985fd9102bc151fd9c5422ace8d0323d /print-sflow.c
parent27eabd022a96bec187f23883a676654c61700c42 (diff)
downloadtcpdump-af1883866321fb94bbdca9013ea665d890549104.tar.gz
Use %zu as the print format for size_t
Diffstat (limited to 'print-sflow.c')
-rw-r--r--print-sflow.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/print-sflow.c b/print-sflow.c
index f17f1ce9..7111c708 100644
--- a/print-sflow.c
+++ b/print-sflow.c
@@ -874,8 +874,7 @@ sflow_print(netdissect_options *ndo,
sflow_datagram = (const struct sflow_datagram_t *)pptr;
if (len < sizeof(struct sflow_datagram_t)) {
ND_PRINT("sFlowv%u", GET_BE_U_4(sflow_datagram->version));
- ND_PRINT(" [length %u < %" PRIsize "]",
- len, sizeof(struct sflow_datagram_t));
+ ND_PRINT(" [length %u < %zu]", len, sizeof(struct sflow_datagram_t));
nd_print_invalid(ndo);
return;
}