Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2008 11:48:51 +0000 (UTC)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186078 - head/sbin/devd
Message-ID:  <200812141148.mBEBmpf3058202@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812141148.mBEBmpf3058202>