From 62577aca10f3226bd6da0d193186963e90092c73 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 14 Dec 2008 11:48:51 +0000 Subject: Send all debug to stderr. --- sbin/devd/devd.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/devd') diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index c6ac80c..c3f3ea9 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -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; -- cgit v1.1