summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-12-25 17:01:35 +0000
committerJim Meyering <jim@meyering.net>1997-12-25 17:01:35 +0000
commitea0f644cddaa39622ea5ece5c39996f86e08d96d (patch)
tree3d44d4899dc53c23774946423352811c3ecd00e8 /src/du.c
parent4f71c219103c62e8d428c1cb71009ac5c242f965 (diff)
downloadcoreutils-ea0f644cddaa39622ea5ece5c39996f86e08d96d.tar.xz
(S_ISLNK): Define this instead of S_ISDIR.
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/du.c b/src/du.c
index 7deac25d5..6c4ce3129 100644
--- a/src/du.c
+++ b/src/du.c
@@ -530,8 +530,8 @@ count_entry (const char *ent, int top, dev_t last_dev, int depth)
if (opt_one_file_system && !top && last_dev != dir_dev)
return 0; /* Don't enter a new file system. */
-#ifndef S_ISDIR
-# define S_ISDIR(s) 0
+#ifndef S_ISLNK
+# define S_ISLNK(s) 0
#endif
/* If we're dereferencing symlinks and we're about to chdir through
a symlink, remember the current directory so we can return to it