summaryrefslogtreecommitdiff
path: root/findutils/find.c
diff options
context:
space:
mode:
authorErik Andersen2000-01-29 07:06:24 +0000
committerErik Andersen2000-01-29 07:06:24 +0000
commit04e97024e78f452526f710a5b3969c78a65f2b33 (patch)
treed5eba84927f0426038db2a1ef3b8b241996fd420 /findutils/find.c
parenta6d0dbc86fd8a84f9c2a05f77013bd3eb5efa697 (diff)
downloadbusybox-04e97024e78f452526f710a5b3969c78a65f2b33.zip
busybox-04e97024e78f452526f710a5b3969c78a65f2b33.tar.gz
Clear up some ambiguity with old style assignments.
-Erik
Diffstat (limited to 'findutils/find.c')
-rw-r--r--findutils/find.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 40a508f..47ce21e 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -70,7 +70,7 @@ int find_main(int argc, char **argv)
argv++;
if ( argc > 0 && **argv != '-') {
- directory=*argv;
+ directory = *argv;
argc--;
argv++;
}
@@ -89,8 +89,8 @@ int find_main(int argc, char **argv)
case 'n':
if (strcmp(*argv, "name")==0) {
if (argc-- > 1) {
- pattern=*(++argv);
- stopit=-TRUE;
+ pattern = *(++argv);
+ stopit=TRUE;
} else {
usage (find_usage);
}