From: Guy Harris Date: Tue, 14 Apr 2020 18:05:09 +0000 (-0700) Subject: Fix error message to reflect what was attempted. X-Git-Tag: libpcap-1.10-bp~219 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/724763138adbe00f6ac8cf48faadd9c95bd567d6 Fix error message to reflect what was attempted. --- diff --git a/pcap-npf.c b/pcap-npf.c index 9e3e34ba..2eae56b3 100644 --- a/pcap-npf.c +++ b/pcap-npf.c @@ -392,7 +392,7 @@ pcap_sendqueue_transmit_npf(pcap_t *p, pcap_send_queue *queue, int sync) if(res != queue->len){ pcap_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE, - GetLastError(), "Error opening adapter"); + GetLastError(), "Error queueing packets"); } return (res);