From 493d6182ebcfb90b29b4ffd540500c86a887cbef Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 30 Jul 2000 16:01:48 +0000 Subject: [PATCH] tweak diagnostic --- src/cp.c | 2 +- src/touch.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cp.c b/src/cp.c index 2e3aabf..39413c9 100644 --- a/src/cp.c +++ b/src/cp.c @@ -257,7 +257,7 @@ re_protect (const char *const_dst_path, int src_offset, if ((*(x->xstat)) (src_path, &src_sb)) { - error (0, errno, _("obtaining attributes of %s"), + error (0, errno, _("getting attributes of %s"), quote (src_path)); return 1; } diff --git a/src/touch.c b/src/touch.c index 8fcbb5b..a105751 100644 --- a/src/touch.c +++ b/src/touch.c @@ -153,7 +153,7 @@ touch (const char *file) if (open_errno) error (0, open_errno, _("creating %s"), quote (file)); else - error (0, errno, _("obtaining attributes of %s"), quote (file)); + error (0, errno, _("getting attributes of %s"), quote (file)); close (fd); return 1; } @@ -330,7 +330,7 @@ main (int argc, char **argv) if (use_ref) { if (stat (ref_file, &ref_stats)) - error (1, errno, _("obtaining attributes of %s"), quote (ref_file)); + error (1, errno, _("getting attributes of %s"), quote (ref_file)); date_set++; } -- 2.7.4