diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/find/operator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/find/operator.c b/usr.bin/find/operator.c index 50339b23253..0fd6a57a1f0 100644 --- a/usr.bin/find/operator.c +++ b/usr.bin/find/operator.c @@ -1,4 +1,4 @@ -/* $OpenBSD: operator.c,v 1.2 1996/06/26 05:33:12 deraadt Exp $ */ +/* $OpenBSD: operator.c,v 1.3 1998/08/11 02:53:04 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)operator.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: operator.c,v 1.2 1996/06/26 05:33:12 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: operator.c,v 1.3 1998/08/11 02:53:04 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -193,7 +193,7 @@ not_squish(plan) int notlevel = 1; node = yanknode(&plan); - while (node->type == N_NOT) { + while (node != NULL && node->type == N_NOT) { ++notlevel; node = yanknode(&plan); } |