summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-12-11 11:46:49 +0000
committerJim Meyering <jim@meyering.net>2001-12-11 11:46:49 +0000
commita6a92722ff61bec29693fae0794f7be769edbe16 (patch)
tree3f61ae05d1a16b2d058880df054fb3cfad2455bf
parentf5a1b61888a10e2cd04a36f09da52ef95b301bce (diff)
downloadcoreutils-a6a92722ff61bec29693fae0794f7be769edbe16.tar.xz
Include the word `fail' in some diagnostics to make it clearer
that they indicate a failure. s/getting attributes/failed to get attributes/
-rw-r--r--src/touch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touch.c b/src/touch.c
index e3ec8ae47..9a4578682 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -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++;
}