]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(change_file_owner):
authorJim Meyering <jim@meyering.net>
Tue, 11 Dec 2001 11:48:21 +0000 (11:48 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 11 Dec 2001 11:48:21 +0000 (11:48 +0000)
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure.
s/getting attributes/failed to get attributes/

src/chown-core.c

index 90729737fd2fcbb671a9f061c874169d1e282bb0..effe6f0a372794f5ec5a2dcefa0c3475e588cd23 100644 (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;
        }