aboutsummaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-31 23:39:37 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-31 23:39:37 +0000
commit5a8e1321aeb2da6242a62448cdf8ed17093f0ae0 (patch)
treed3c0c94bff443a456acad23b04596099523b5841 /findutils/find.c
parent10ca7ea4aeb7b5b6cbcdd7efed4cb7fe74002784 (diff)
downloadbusybox-w32-5a8e1321aeb2da6242a62448cdf8ed17093f0ae0.tar.gz
busybox-w32-5a8e1321aeb2da6242a62448cdf8ed17093f0ae0.tar.bz2
busybox-w32-5a8e1321aeb2da6242a62448cdf8ed17093f0ae0.zip
find: -type T was actually meaning ! -type T!
With this fix, "make mrproper" works correctly git-svn-id: svn://busybox.net/trunk/busybox@16482 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r--findutils/find.c2
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)
143#if ENABLE_FEATURE_FIND_TYPE 143#if ENABLE_FEATURE_FIND_TYPE
144SFUNC(type) 144SFUNC(type)
145{ 145{
146 return !((statbuf->st_mode & S_IFMT) == ap->type_mask); 146 return ((statbuf->st_mode & S_IFMT) == ap->type_mask);
147} 147}
148#endif 148#endif
149#if ENABLE_FEATURE_FIND_PERM 149#if ENABLE_FEATURE_FIND_PERM