Compare function pointers against 0 rather than nil.
This commit is contained in:
parent
eac9e0183f
commit
a87638642c
13 changed files with 15 additions and 15 deletions
|
|
@ -287,7 +287,7 @@ mapcoreregs(Fhdr *fp, Map *map, Regs **rp)
|
|||
UregRegs *r;
|
||||
|
||||
elf = fp->elf;
|
||||
if(elf->coreregs == nil){
|
||||
if(elf->coreregs == 0){
|
||||
werrstr("cannot parse %s %s cores", fp->mname, fp->aname);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue