summaryrefslogtreecommitdiff
path: root/src/ls.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/ls.c
parent3eaec256b7b0c02ac732d71ec4a18929024b56db (diff)
downloadcoreutils-0b24b840446f8a8427052816017e36f75f476810.tar.xz
* src/system.h (CLOSEDIR): Remove. All uses changed to closedir.
Diffstat (limited to 'src/ls.c')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index b2a74c8a1..2e9159430 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -2377,7 +2377,7 @@ print_dir (char const *name, char const *realname, bool command_line_arg)
break;
}
- if (CLOSEDIR (dirp) != 0)
+ if (closedir (dirp) != 0)
{
file_failure (command_line_arg, _("closing directory %s"), name);
/* Don't return; print whatever we got. */