summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-11 11:49:36 +0000
committerJim Meyering <jim@meyering.net>2001-12-11 11:49:36 +0000
commit098bfeea80fd5683d14cc5f9155200dd26ddc41d (patch)
tree429013c9445c3d1ca0971333772e11a611151c9e /src
parent0ef9bacdc735253f9ecbd93096eaca1355d345a9 (diff)
downloadcoreutils-098bfeea80fd5683d14cc5f9155200dd26ddc41d.tar.xz
(main):
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')
-rw-r--r--src/chgrp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index a827f7548..aea989235 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -215,7 +215,8 @@ main (int argc, char **argv)
{
struct stat ref_stats;
if (stat (reference_file, &ref_stats))
- error (1, errno, _("getting attributes of %s"), quote (reference_file));
+ error (1, errno, _("failed to get attributes of %s"),
+ quote (reference_file));
chopt.group_name = gid_to_name (ref_stats.st_gid);
gid = ref_stats.st_gid;