From 879adb17cc1a4e743a50a058dc81edd80a0ecf42 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 11 Dec 2001 11:48:54 +0000 Subject: (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/ --- src/chmod.c | 4 ++-- 1 file 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); -- cgit v1.2.3-70-g09d2