summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-11 11:48:54 +0000
committerJim Meyering <jim@meyering.net>2001-12-11 11:48:54 +0000
commit879adb17cc1a4e743a50a058dc81edd80a0ecf42 (patch)
treed454a7ada9f1a3211d6f2101a810408df915139d /src
parent92c8fc20fb033cecfda35565b798283c493af578 (diff)
downloadcoreutils-879adb17cc1a4e743a50a058dc81edd80a0ecf42.tar.xz
(change_file_mode, 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/chmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chmod.c b/src/chmod.c
index 82cdacea9..a3d8feb0c 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -155,7 +155,7 @@ change_file_mode (const char *file, const struct mode_change *changes,
if (deref_symlink ? stat (file, &file_stats) : lstat (file, &file_stats))
{
if (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;
}
@@ -362,7 +362,7 @@ main (int argc, char **argv)
else if (changes == MODE_MEMORY_EXHAUSTED)
xalloc_die ();
else if (changes == MODE_BAD_REFERENCE)
- error (1, errno, _("getting attributes of %s"), quote (reference_file));
+ error (1, errno, _("failed to get attributes of %s"), quote (reference_file));
for (; optind < argc; ++optind)
errors |= change_file_mode (argv[optind], changes, 1);