mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Send all debug to stderr.
This commit is contained in:
parent
877ed37a0d
commit
0f3311c56f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186078
@ -307,7 +307,7 @@ void
|
||||
config::parse_one_file(const char *fn)
|
||||
{
|
||||
if (Dflag)
|
||||
printf("Parsing %s\n", fn);
|
||||
fprintf(stderr, "Parsing %s\n", fn);
|
||||
yyin = fopen(fn, "r");
|
||||
if (yyin == NULL)
|
||||
err(1, "Cannot open config file %s", fn);
|
||||
@ -325,7 +325,7 @@ config::parse_files_in_dir(const char *dirname)
|
||||
char path[PATH_MAX];
|
||||
|
||||
if (Dflag)
|
||||
printf("Parsing files in %s\n", dirname);
|
||||
fprintf(stderr, "Parsing files in %s\n", dirname);
|
||||
dirp = opendir(dirname);
|
||||
if (dirp == NULL)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user