diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-09-14 00:24:39 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-09-14 00:24:39 -0700 |
commit | 821a8d6abc31171acfa5c33f7ade65776d516476 (patch) | |
tree | ed89b888363e8237957b0afa9e5880010c9d12f4 | |
parent | e4e6965e6bf03c39b202db82c84b13c26b517b9b (diff) |
Fix typo from previous commit.
-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); } |