aboutsummaryrefslogtreecommitdiff
path: root/missing/win_asprintf.c
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2023-03-27 18:45:17 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2023-03-27 18:45:17 +0000
commit35af88c96350eb786f1198dfb6b29a171016e6bf (patch)
treee883c1f8391d5ca1afd57abd8ed9d2cd7c274b0b /missing/win_asprintf.c
parent20616273d52132557e786a8aea1637be4c218a08 (diff)
Diffstat (limited to 'missing/win_asprintf.c')
-rw-r--r--missing/win_asprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/missing/win_asprintf.c b/missing/win_asprintf.c
index cce6296065fc..e4bd13c61920 100644
--- a/missing/win_asprintf.c
+++ b/missing/win_asprintf.c
@@ -23,7 +23,7 @@ pcap_vasprintf(char **strp, const char *format, va_list args)
*strp = NULL;
return (-1);
}
- ret = pcap_vsnprintf(str, str_size, format, args);
+ ret = vsnprintf(str, str_size, format, args);
if (ret == -1) {
free(str);
*strp = NULL;
@@ -31,7 +31,7 @@ pcap_vasprintf(char **strp, const char *format, va_list args)
}
*strp = str;
/*
- * pcap_vsnprintf() shouldn't truncate the string, as we have
+ * vsnprintf() shouldn't truncate the string, as we have
* allocated a buffer large enough to hold the string, so its
* return value should be the number of characters printed.
*/