diff options
author | Jim Meyering <jim@meyering.net> | 2002-08-29 10:13:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-08-29 10:13:57 +0000 |
commit | 1f8ece552f7725fadb804150aaf9dfdb6816edb6 (patch) | |
tree | 8bce2f3c12f4bb5506aeaab34e81f97d514b8597 /src | |
parent | 82c0b315bcbfea3935919bc7861dad668f36280c (diff) | |
download | coreutils-1f8ece552f7725fadb804150aaf9dfdb6816edb6.tar.xz |
(remove_cwd_entries): Use closedir (not CLOSEDIR) when ignoring any return value.
Diffstat (limited to 'src')
-rw-r--r-- | src/remove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c index 15ea10d2f..11df3fa54 100644 --- a/src/remove.c +++ b/src/remove.c @@ -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. */ |