diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index c5e2157da..d16a1b5ca 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,7 @@ +2004-11-18 Bas van Gompel + + * cygcheck.cc (eprintf): New function. + 2004-11-16 Bas van Gompel * cygcheck.cc (find_on_path): Clear show_error and/or print_failed diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc index 35ac4330c..b19629680 100644 --- a/winsup/utils/cygcheck.cc +++ b/winsup/utils/cygcheck.cc @@ -98,6 +98,15 @@ static common_apps[] = { static int num_paths = 0, max_paths = 0; static char **paths = 0; +void +eprintf (const char *format, ...) +{ + va_list ap; + va_start (ap, format); + vfprintf (stderr, format, ap); + va_end (ap); +} + /* * display_error() is used to report failure modes */