mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-03 23:13:50 +08:00
(make_path): Print verbose message using fprintf, not error.
This commit is contained in:
parent
7a4cc2dff1
commit
40fa6cc699
@ -243,7 +243,7 @@ make_path (argpath, mode, parent_mode, owner, group, preserve_existing,
|
||||
}
|
||||
|
||||
if (newly_created_dir && verbose_fmt_string != NULL)
|
||||
error (0, 0, verbose_fmt_string, dirpath);
|
||||
fprintf (stderr, verbose_fmt_string, dirpath);
|
||||
|
||||
if (owner != (uid_t) -1 && group != (gid_t) -1
|
||||
&& chown (basename_dir, owner, group)
|
||||
|
Loading…
Reference in New Issue
Block a user