summaryrefslogtreecommitdiff
path: root/src/du.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/du.c
parentb4cde80810566bdfe0663dbef2a5b671fe58240f (diff)
downloadcoreutils-69f39255bc7f02c65e5f7ff0e6c2788430c47e9c.tar.xz
Rename SAFE_STAT and SAFE_LSTAT to lower case names.
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/du.c b/src/du.c
index f8161b9d1..57134f27a 100644
--- a/src/du.c
+++ b/src/du.c
@@ -349,7 +349,7 @@ du_files (files)
}
/* Remember the inode and device number of the current directory. */
- if (SAFE_STAT (".", &stat_buf))
+ if (safe_stat (".", &stat_buf))
error (1, errno, "current directory");
initial_ino = stat_buf.st_ino;
initial_dev = stat_buf.st_dev;
@@ -381,7 +381,7 @@ du_files (files)
count_entry (arg, 1, 0);
/* chdir if `count_entry' has changed the working directory. */
- if (SAFE_STAT (".", &stat_buf))
+ if (safe_stat (".", &stat_buf))
error (1, errno, ".");
if (stat_buf.st_ino != initial_ino || stat_buf.st_dev != initial_dev)
{
@@ -423,7 +423,7 @@ count_entry (ent, top, last_dev)
long size;
if (((top && opt_dereference_arguments)
- ? SAFE_STAT (ent, &stat_buf)
+ ? safe_stat (ent, &stat_buf)
: (*xstat) (ent, &stat_buf)) < 0)
{
error (0, errno, "%s", path->text);