From a87638642c99d88a3543e0cd5864c9e54133fbee Mon Sep 17 00:00:00 2001 From: wkj Date: Fri, 9 Jul 2004 01:54:06 +0000 Subject: Compare function pointers against 0 rather than nil. --- src/libthread/note.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libthread') diff --git a/src/libthread/note.c b/src/libthread/note.c index 55170c75..241c16ff 100644 --- a/src/libthread/note.c +++ b/src/libthread/note.c @@ -58,7 +58,7 @@ delayednotes(Proc *p, void *v) for(n=notes; nproc == p){ for(i=0; ipid || (fn = onnote[i])==nil) + if(onnotepid[i]!=p->pid || (fn = onnote[i])==0) continue; if((*fn)(v, n->s)) break; -- cgit v1.2.3