svn commit: r186078 - head/sbin/devd
Poul-Henning Kamp
phk at FreeBSD.org
Sun Dec 14 11:48:52 UTC 2008
Author: phk
Date: Sun Dec 14 11:48:51 2008
New Revision: 186078
URL: http://svn.freebsd.org/changeset/base/186078
Log:
Send all debug to stderr.
Modified:
head/sbin/devd/devd.cc
Modified: head/sbin/devd/devd.cc
==============================================================================
--- head/sbin/devd/devd.cc Sun Dec 14 11:47:39 2008 (r186077)
+++ head/sbin/devd/devd.cc Sun Dec 14 11:48:51 2008 (r186078)
@@ -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 *d
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;
More information about the svn-src-head
mailing list