summaryrefslogtreecommitdiff
path: root/src/chown-core.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-11 11:48:21 +0000
committerJim Meyering <jim@meyering.net>2001-12-11 11:48:21 +0000
commit92c8fc20fb033cecfda35565b798283c493af578 (patch)
treeb957aa09543fb9c3a368b2105703f6278fa41c14 /src/chown-core.c
parent47a2e7569ca018013585651e880dab4e7a4dc31d (diff)
downloadcoreutils-92c8fc20fb033cecfda35565b798283c493af578.tar.xz
(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/
Diffstat (limited to 'src/chown-core.c')
-rw-r--r--src/chown-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chown-core.c b/src/chown-core.c
index 90729737f..effe6f0a3 100644
--- a/src/chown-core.c
+++ b/src/chown-core.c
@@ -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;
}