summaryrefslogtreecommitdiff
path: root/lib/makepath.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-12-13 07:30:57 +0000
committerJim Meyering <jim@meyering.net>1999-12-13 07:30:57 +0000
commitc8d452098bc61a73f4217613828f080d076df213 (patch)
tree4e3b50f2352b524e47f26dff950db81d6f8f10a0 /lib/makepath.c
parent318265349550f60b2084f156bd74b0b8d4b72276 (diff)
downloadcoreutils-c8d452098bc61a73f4217613828f080d076df213.tar.xz
(make_path): Consistently use error to output
the verbose, `created directory ...' messages. Reported by Bernhard Rosenkraenzer.
Diffstat (limited to 'lib/makepath.c')
-rw-r--r--lib/makepath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/makepath.c b/lib/makepath.c
index 018b17e56..bf3528eb4 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)