diff options
Diffstat (limited to 'src/libthread')
-rw-r--r-- | src/libthread/note.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; n<enotes; n++){ if(n->proc == p){ for(i=0; i<NFN; i++){ - if(onnotepid[i]!=p->pid || (fn = onnote[i])==nil) + if(onnotepid[i]!=p->pid || (fn = onnote[i])==0) continue; if((*fn)(v, n->s)) break; |