summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 495978304..9a509417c 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -214,7 +214,8 @@ enum filetype
normal = DT_REG,
symbolic_link = DT_LNK,
sock = DT_SOCK,
- arg_directory = 100
+ arg_directory = 2 * (DT_UNKNOWN | DT_FIFO | DT_CHR | DT_DIR | DT_BLK
+ | DT_REG | DT_LNK | DT_SOCK)
#else
symbolic_link,
directory,