PERFORCE change 95117 for review
John Birrell
jb at FreeBSD.org
Wed Apr 12 23:41:32 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95117
Change 95117 by jb at jb_freebsd2 on 2006/04/12 23:41:07
Fix a return type. gcc treats NULL as a different type to (int) 0.
Affected files ...
.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/gelf.c#2 edit
Differences ...
==== //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/gelf.c#2 (text) ====
@@ -271,7 +271,7 @@
return (0);
if (elf_getphnum(elf, &phnum) == 0)
- return (NULL);
+ return (0);
if (phnum < ndx) {
_elf_seterr(EREQ_RAND, 0);
More information about the p4-projects
mailing list