summaryrefslogtreecommitdiff
path: root/src/touch.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-01-27 17:03:21 +0000
committerJim Meyering <jim@meyering.net>1995-01-27 17:03:21 +0000
commit69f39255bc7f02c65e5f7ff0e6c2788430c47e9c (patch)
treeee636591236912ecd163f75a7fc906f78bbceb87 /src/touch.c
parentb4cde80810566bdfe0663dbef2a5b671fe58240f (diff)
downloadcoreutils-69f39255bc7f02c65e5f7ff0e6c2788430c47e9c.tar.xz
Rename SAFE_STAT and SAFE_LSTAT to lower case names.
Diffstat (limited to 'src/touch.c')
-rw-r--r--src/touch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/touch.c b/src/touch.c
index dc48445c2..00a2eb476 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -218,7 +218,7 @@ main (argc, argv)
if (use_ref)
{
- if (SAFE_STAT (ref_file, &ref_stats))
+ if (safe_stat (ref_file, &ref_stats))
error (1, errno, "%s", ref_file);
date_set++;
}
@@ -263,7 +263,7 @@ touch (file)
struct stat sbuf;
int fd;
- if (SAFE_STAT (file, &sbuf))
+ if (safe_stat (file, &sbuf))
{
if (errno != ENOENT)
{