summaryrefslogtreecommitdiff
path: root/usr.bin/find/operator.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/find/operator.c')
-rw-r--r--usr.bin/find/operator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/operator.c b/usr.bin/find/operator.c
index 3654bcabd5fa..d331faf9a5fe 100644
--- a/usr.bin/find/operator.c
+++ b/usr.bin/find/operator.c
@@ -190,7 +190,7 @@ not_squish(plan)
int notlevel = 1;
node = yanknode(&plan);
- while (node != NULL && node->type == N_NOT) {
+ while ((node != NULL) && (node->type == N_NOT)) {
++notlevel;
node = yanknode(&plan);
}