(change_file_owner):

Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/
This commit is contained in:
Jim Meyering
2001-12-11 11:48:21 +00:00
parent 47a2e7569c
commit 92c8fc20fb
+2 -2
View File
@@ -233,7 +233,7 @@ change_file_owner (int cmdline_arg, const char *file, uid_t uid, gid_t gid,
if (lstat (file, &file_stats))
{
if (chopt->force_silent == 0)
error (0, errno, _("getting attributes of %s"), quote (file));
error (0, errno, _("failed to get attributes of %s"), quote (file));
return 1;
}
@@ -245,7 +245,7 @@ change_file_owner (int cmdline_arg, const char *file, uid_t uid, gid_t gid,
&& stat (file, &file_stats))
{
if (chopt->force_silent == 0)
error (0, errno, _("getting attributes of %s"), quote (file));
error (0, errno, _("failed to get attributes of %s"), quote (file));
return 1;
}