17 lines
649 B
Plaintext
17 lines
649 B
Plaintext
$OpenBSD: patch-src_iperf_udp_c,v 1.2 2018/07/11 15:36:55 gonzalo Exp $
|
|
|
|
Print uint64_t using %llu, size_t is 32 bits on LP32 archs.
|
|
|
|
Index: src/iperf_udp.c
|
|
--- src/iperf_udp.c.orig
|
|
+++ src/iperf_udp.c
|
|
@@ -149,7 +149,7 @@ iperf_udp_recv(struct iperf_stream *sp)
|
|
|
|
/* Log the out-of-order packet */
|
|
if (sp->test->debug)
|
|
- fprintf(stderr, "OUT OF ORDER - incoming packet sequence %" PRIu64 " but expected sequence %d on stream %d", pcount, sp->packet_count, sp->socket);
|
|
+ fprintf(stderr, "OUT OF ORDER - incoming packet sequence %llu" PRIu64 " but expected sequence %d on stream %d", pcount, sp->packet_count, sp->socket);
|
|
}
|
|
|
|
/*
|