diff options
author | phk <phk@FreeBSD.org> | 2008-12-14 11:48:51 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2008-12-14 11:48:51 +0000 |
commit | 62577aca10f3226bd6da0d193186963e90092c73 (patch) | |
tree | acb65a46a53af42e7f41864ca3c4eaf60e7034c4 /sbin/devd | |
parent | 329b1107fb9fc5dde141d48d016f4c8027a76edf (diff) | |
download | FreeBSD-src-62577aca10f3226bd6da0d193186963e90092c73.zip FreeBSD-src-62577aca10f3226bd6da0d193186963e90092c73.tar.gz |
Send all debug to stderr.
Diffstat (limited to 'sbin/devd')
-rw-r--r-- | sbin/devd/devd.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |