From: Jim Meyering Date: Mon, 13 Dec 1999 07:30:57 +0000 (+0000) Subject: (make_path): Consistently use error to output X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c70a64f30493c2628b49de2e1bd5bd68d334a490;p=pspp (make_path): Consistently use error to output the verbose, `created directory ...' messages. Reported by Bernhard Rosenkraenzer. --- diff --git a/lib/makepath.c b/lib/makepath.c index 018b17e567..bf3528eb4f 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -308,7 +308,7 @@ make_path (const char *argpath, if (newly_created_dir) { if (verbose_fmt_string) - fprintf (stderr, verbose_fmt_string, dirpath); + error (0, 0, verbose_fmt_string, dirpath); if ((owner != (uid_t) -1 || group != (gid_t) -1) && chown (basename_dir, owner, group)