summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-10-28 17:58:25 +0000
committerJim Meyering <jim@meyering.net>2000-10-28 17:58:25 +0000
commit007b5b4ba8c8f5afe43d8b287e7d64b658f71304 (patch)
tree804791d14e43125dd43915b88afebe75d1f2b7f4
parentc58f8e0f80d6ca5b29170e10b9b1d7901b749b2c (diff)
downloadcoreutils-007b5b4ba8c8f5afe43d8b287e7d64b658f71304.tar.xz
(main): In call to gobble_file with `"."', use `directory'
as the type, not `unknown'. From Ulrich Drepper.
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 758e27343..495978304 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -894,7 +894,7 @@ main (int argc, char **argv)
if (dir_defaulted)
{
if (immediate_dirs)
- gobble_file (".", unknown, 1, "");
+ gobble_file (".", directory, 1, "");
else
queue_directory (".", 0);
}