From: Guy Harris Date: Sat, 15 Sep 2018 16:53:11 +0000 (-0700) Subject: Fix a message-formatting call. X-Git-Tag: libpcap-1.10-bp~804 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/3415fba506a87f1e5a5854d973c8ab049dab0bbd?ds=sidebyside Fix a message-formatting call. --- diff --git a/pcap.c b/pcap.c index 394a5e40..77f46ae6 100644 --- a/pcap.c +++ b/pcap.c @@ -3685,7 +3685,7 @@ pcap_inject(pcap_t *p, const void *buf, size_t size) if (size == 0) { pcap_fmt_errmsg_for_errno(p->errbuf, PCAP_ERRBUF_SIZE, - errno, "The number of bytes to be injected must not be zero", INT_MAX); + errno, "The number of bytes to be injected must not be zero"); return (PCAP_ERROR); }