summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-10-31 23:39:37 +0000
committerDenis Vlasenko2006-10-31 23:39:37 +0000
commit31c65f24560f6980e3949a02f0b5e5e45c1a365d (patch)
treed3c0c94bff443a456acad23b04596099523b5841 /findutils
parent14aa9f74156243469bc96d6435b560b8042fcb99 (diff)
downloadbusybox-31c65f24560f6980e3949a02f0b5e5e45c1a365d.zip
busybox-31c65f24560f6980e3949a02f0b5e5e45c1a365d.tar.gz
find: -type T was actually meaning ! -type T!
With this fix, "make mrproper" works correctly
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