(remove_cwd_entries): Use closedir (not CLOSEDIR) when ignoring any return value.

This commit is contained in:
Jim Meyering committed 2002-08-29 10:13:57 +00:00
1 parent 82c0b315bc
commit 1f8ece552f
1 file changed
+1 -1
+1 -1
View File
@@ -823,7 +823,7 @@ remove_cwd_entries (char **subdir, struct stat *subdir_sb,
{
/* Save/restore errno across closedir call. */
int e = errno;
CLOSEDIR (dirp);
closedir (dirp);
errno = e;
/* Arrange to give a diagnostic after exiting this loop. */