summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/lst.lib/lstForEachFrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/lst.lib/lstForEachFrom.c')
-rw-r--r--usr.bin/make/lst.lib/lstForEachFrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/lst.lib/lstForEachFrom.c b/usr.bin/make/lst.lib/lstForEachFrom.c
index 7d647c3..579a640 100644
--- a/usr.bin/make/lst.lib/lstForEachFrom.c
+++ b/usr.bin/make/lst.lib/lstForEachFrom.c
@@ -101,7 +101,7 @@ Lst_ForEachFrom (l, ln, proc, d)
* doesn't exist.
*/
done = (next == tln->nextPtr &&
- (next == NilListNode || next == list->firstPtr));
+ (next == NULL || next == list->firstPtr));
next = tln->nextPtr;
OpenPOWER on IntegriCloud