aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcap-npf.c2
1 files changed, 1 insertions, 1 deletions
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);