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

src/touch.c

index e3ec8ae475687e1b7b8fa9bc8a84b4cd7ca6eace..9a4578682b06c2dd13cdb5286536fb4ccd01d274 100644 (file)
@@ -162,7 +162,7 @@ touch (const char *file)
          if (open_errno)
            error (0, open_errno, _("creating %s"), quote (file));
          else
-           error (0, errno, _("getting attributes of %s"), quote (file));
+           error (0, errno, _("failed to get attributes of %s"), quote (file));
          close (fd);
          return 1;
        }
@@ -348,7 +348,7 @@ main (int argc, char **argv)
   if (use_ref)
     {
       if (stat (ref_file, &ref_stats))
-       error (1, errno, _("getting attributes of %s"), quote (ref_file));
+       error (1, errno, _("failed to get attributes of %s"), quote (ref_file));
       date_set++;
     }