(main): In call to gobble_file with `"."', use `directory'
authorJim Meyering <jim@meyering.net>
Sat, 28 Oct 2000 17:58:25 +0000 (17:58 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 28 Oct 2000 17:58:25 +0000 (17:58 +0000)
as the type, not `unknown'.  From Ulrich Drepper.

src/ls.c

index 758e27343c4804b854fd28eb84a9f8305b8d4ade..4959783040aaacdb4c4c2e7ec2c24a1b86ea5f8c 100644 (file)
--- 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);
     }