summaryrefslogtreecommitdiff
path: root/show-files.c
diff options
context:
space:
mode:
Diffstat (limited to 'show-files.c')
-rw-r--r--show-files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/show-files.c b/show-files.c
index d4061f8303..c63c7aa4b7 100644
--- a/show-files.c
+++ b/show-files.c
@@ -129,7 +129,7 @@ static void read_directory(const char *path, const char *base, int baselen)
len = strlen(de->d_name);
memcpy(fullname + baselen, de->d_name, len+1);
- switch (de->d_type) {
+ switch (DTYPE(de)) {
struct stat st;
default:
continue;