summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c
index bc285d3..f3f4d95 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -143,7 +143,7 @@ SFUNC(name)
#if ENABLE_FEATURE_FIND_TYPE
SFUNC(type)
{
- return !((statbuf->st_mode & S_IFMT) == ap->type_mask);
+ return ((statbuf->st_mode & S_IFMT) == ap->type_mask);
}
#endif
#if ENABLE_FEATURE_FIND_PERM