From a3625ec9f6132102e32aeba4ec18e43f7c16c071 Mon Sep 17 00:00:00 2001 From: Chuck Craft Date: Tue, 12 Oct 2021 21:17:01 -0500 Subject: [PATCH] extcap: reword error message referencing captype There exists a program called "captype" but it's not used here. --- extcap/androiddump.c | 2 +- extcap/ciscodump.c | 2 +- extcap/dpauxmon.c | 2 +- extcap/etwdump.c | 2 +- extcap/randpktdump.c | 2 +- extcap/sdjournal.c | 2 +- extcap/sshdump.c | 2 +- extcap/udpdump.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/extcap/androiddump.c b/extcap/androiddump.c index 1767ef0ee6..278e4b75fd 100644 --- a/extcap/androiddump.c +++ b/extcap/androiddump.c @@ -2543,7 +2543,7 @@ int main(int argc, char *argv[]) { */ err_msg = init_progfile_dir(argv[0]); if (err_msg != NULL) { - ws_warning("Can't get pathname of directory containing the captype program: %s.", + ws_warning("Can't get pathname of directory containing the extcap program: %s.", err_msg); g_free(err_msg); } diff --git a/extcap/ciscodump.c b/extcap/ciscodump.c index 0fa67f60e7..abcfc6b270 100644 --- a/extcap/ciscodump.c +++ b/extcap/ciscodump.c @@ -551,7 +551,7 @@ int main(int argc, char *argv[]) */ err_msg = init_progfile_dir(argv[0]); if (err_msg != NULL) { - ws_warning("Can't get pathname of directory containing the captype program: %s.", + ws_warning("Can't get pathname of directory containing the extcap program: %s.", err_msg); g_free(err_msg); } diff --git a/extcap/dpauxmon.c b/extcap/dpauxmon.c index 97c6a50431..69dabe68ea 100644 --- a/extcap/dpauxmon.c +++ b/extcap/dpauxmon.c @@ -509,7 +509,7 @@ int main(int argc, char *argv[]) */ init_progfile_dir_error = init_progfile_dir(argv[0]); if (init_progfile_dir_error != NULL) { - ws_warning("Can't get pathname of directory containing the captype program: %s.", + ws_warning("Can't get pathname of directory containing the extcap program: %s.", init_progfile_dir_error); g_free(init_progfile_dir_error); } diff --git a/extcap/etwdump.c b/extcap/etwdump.c index 8ec5407141..f8b9a68a3b 100644 --- a/extcap/etwdump.c +++ b/extcap/etwdump.c @@ -139,7 +139,7 @@ int main(int argc, char* argv[]) */ err_msg = init_progfile_dir(argv[0]); if (err_msg != NULL) { - ws_warning("Can't get pathname of directory containing the captype program: %s.", + ws_warning("Can't get pathname of directory containing the extcap program: %s.", err_msg); g_free(err_msg); } diff --git a/extcap/randpktdump.c b/extcap/randpktdump.c index 070aa53df2..73d4db6012 100644 --- a/extcap/randpktdump.c +++ b/extcap/randpktdump.c @@ -170,7 +170,7 @@ int main(int argc, char *argv[]) */ err_msg = init_progfile_dir(argv[0]); if (err_msg != NULL) { - ws_warning("Can't get pathname of directory containing the captype program: %s.", + ws_warning("Can't get pathname of directory containing the extcap program: %s.", err_msg); g_free(err_msg); } diff --git a/extcap/sdjournal.c b/extcap/sdjournal.c index eefd6ea7c2..0b29727ee3 100644 --- a/extcap/sdjournal.c +++ b/extcap/sdjournal.c @@ -358,7 +358,7 @@ int main(int argc, char **argv) */ init_progfile_dir_error = init_progfile_dir(argv[0]); if (init_progfile_dir_error != NULL) { - ws_warning("Can't get pathname of directory containing the captype program: %s.", + ws_warning("Can't get pathname of directory containing the extcap program: %s.", init_progfile_dir_error); g_free(init_progfile_dir_error); } diff --git a/extcap/sshdump.c b/extcap/sshdump.c index 0247bac08f..e7390ee3e5 100644 --- a/extcap/sshdump.c +++ b/extcap/sshdump.c @@ -381,7 +381,7 @@ int main(int argc, char *argv[]) */ err_msg = init_progfile_dir(argv[0]); if (err_msg != NULL) { - ws_warning("Can't get pathname of directory containing the captype program: %s.", + ws_warning("Can't get pathname of directory containing the extcap program: %s.", err_msg); g_free(err_msg); } diff --git a/extcap/udpdump.c b/extcap/udpdump.c index be8f044a2d..50cbd75854 100644 --- a/extcap/udpdump.c +++ b/extcap/udpdump.c @@ -374,7 +374,7 @@ int main(int argc, char *argv[]) */ err_msg = init_progfile_dir(argv[0]); if (err_msg != NULL) { - ws_warning("Can't get pathname of directory containing the captype program: %s.", + ws_warning("Can't get pathname of directory containing the extcap program: %s.", err_msg); g_free(err_msg); }