summaryrefslogtreecommitdiff
path: root/src/pwd.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-06-28 22:21:48 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-06-28 22:21:48 +0000
commit0b24b840446f8a8427052816017e36f75f476810 (patch)
treedf071c087b9d926183f235cc96ded9a66a5119a0 /src/pwd.c
parent3eaec256b7b0c02ac732d71ec4a18929024b56db (diff)
downloadcoreutils-0b24b840446f8a8427052816017e36f75f476810.tar.xz
* src/system.h (CLOSEDIR): Remove. All uses changed to closedir.
Diffstat (limited to 'src/pwd.c')
-rw-r--r--src/pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pwd.c b/src/pwd.c
index 3a7ff5aac..235d53a17 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -216,7 +216,7 @@ find_dir_entry (struct stat *dot_sb, struct file_name *file_name,
}
}
- if (dirp == NULL || CLOSEDIR (dirp) != 0)
+ if (dirp == NULL || closedir (dirp) != 0)
{
/* Note that this diagnostic serves for both readdir
and closedir failures. */