diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-31 23:39:37 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-31 23:39:37 +0000 |
commit | 31c65f24560f6980e3949a02f0b5e5e45c1a365d (patch) | |
tree | d3c0c94bff443a456acad23b04596099523b5841 | |
parent | 14aa9f74156243469bc96d6435b560b8042fcb99 (diff) |
find: -type T was actually meaning ! -type T!
With this fix, "make mrproper" works correctly
-rw-r--r-- | findutils/find.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/find.c b/findutils/find.c index bc285d36a..f3f4d959d 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 |