diff options
Diffstat (limited to 'pcap-win32.c')
-rw-r--r-- | pcap-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-win32.c b/pcap-win32.c index 53390b2f..1d2faf9d 100644 --- a/pcap-win32.c +++ b/pcap-win32.c @@ -412,7 +412,7 @@ pcap_live_dump_win32(pcap_t *p, char *filename, int maxsize, int maxpacks) /* Set the name of the dump file */ res = PacketSetDumpName(p->adapter, filename, strlen(filename)); if(res == FALSE){ - snprintf(p->errbuf, PCAP_ERRBUF_SIZE + snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "Error setting kernel dump file name"); return (-1); } |