aboutsummaryrefslogtreecommitdiff
path: root/sf-pcap.c
diff options
context:
space:
mode:
authorAlex Smith <44322503+MadAlexUK@users.noreply.github.com>2019-03-08 04:16:42 +0000
committerAlex Smith <44322503+MadAlexUK@users.noreply.github.com>2019-03-08 04:16:42 +0000
commit2567412b81cba0dc3bf3825c453ed3c2552f357c (patch)
tree5da35668d552c8c210f214ce3cfa0cba07ddd1f4 /sf-pcap.c
parentf28a7dae4c41eff16274260e6d82faab20d23ef4 (diff)
Corrected function name in error text
Diffstat (limited to 'sf-pcap.c')
-rw-r--r--sf-pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sf-pcap.c b/sf-pcap.c
index f6b26404..ae6fbceb 100644
--- a/sf-pcap.c
+++ b/sf-pcap.c
@@ -862,7 +862,7 @@ pcap_dump_hopen(pcap_t *p, intptr_t osfd)
fd = _open_osfhandle(osfd, _O_APPEND);
if (fd < 0) {
pcap_fmt_errmsg_for_errno(errbuf, PCAP_ERRBUF_SIZE,
- errno, "_openosfhandle");
+ errno, "_open_osfhandle");
return NULL;
}