From: Guy Harris Date: Sat, 6 Nov 2021 22:28:30 +0000 (-0700) Subject: NPF: fix wrong variable name. X-Git-Tag: libpcap-1.10.2~382 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/48bb99f21516aa41df69d7cab3f56ba53172c637 NPF: fix wrong variable name. (cherry picked from commit 63a3ba3ca4ab196b7996324fbfdaa72d0a500ead) --- diff --git a/pcap-npf.c b/pcap-npf.c index 6f419a47..93be9620 100644 --- a/pcap-npf.c +++ b/pcap-npf.c @@ -1593,7 +1593,7 @@ pcap_create_interface(const char *device _U_, char *ebuf) * and re-installing it, to flush * out all older drivers. */ - snprintf(errbuf, PCAP_ERRBUF_SIZE, + snprintf(ebuf, PCAP_ERRBUF_SIZE, "PacketGetTimestampModes() failed with ERROR_INVALID_FUNCTION; try uninstalling Npcap, and WinPcap if installed, and re-installing it from npcap.org"); pcap_close(p); return (NULL);