diff options
author | wkj <devnull@localhost> | 2004-07-09 01:54:06 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-07-09 01:54:06 +0000 |
commit | a87638642c99d88a3543e0cd5864c9e54133fbee (patch) | |
tree | ccacfd6c58da316c208f1f014be0a15a28cad4b8 /src/libthread | |
parent | eac9e0183f550f950bfcf5cdad959976cbe041ba (diff) | |
download | plan9port-a87638642c99d88a3543e0cd5864c9e54133fbee.tar.gz plan9port-a87638642c99d88a3543e0cd5864c9e54133fbee.tar.bz2 plan9port-a87638642c99d88a3543e0cd5864c9e54133fbee.zip |
Compare function pointers against 0 rather than nil.
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; |