summaryrefslogtreecommitdiffstats
path: root/sys/kern/link_aout.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-12-21 11:14:12 +0000
committereivind <eivind@FreeBSD.org>1999-12-21 11:14:12 +0000
commit8befc1a2b84269c73c5f4bb55d5961c9c1e64866 (patch)
treeaa42526cc605d366c46f08ae42d166e1905b2fe7 /sys/kern/link_aout.c
parentd6a0d6a22e9b0ac0457c1471bc84b9240b8b5242 (diff)
downloadFreeBSD-src-8befc1a2b84269c73c5f4bb55d5961c9c1e64866.zip
FreeBSD-src-8befc1a2b84269c73c5f4bb55d5961c9c1e64866.tar.gz
Change incorrect NULLs to 0s
Diffstat (limited to 'sys/kern/link_aout.c')
-rw-r--r--sys/kern/link_aout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/link_aout.c b/sys/kern/link_aout.c
index 605a812..6081a9c 100644
--- a/sys/kern/link_aout.c
+++ b/sys/kern/link_aout.c
@@ -467,7 +467,7 @@ link_aout_lookup_symbol(linker_file_t file, const char* name,
char* cp;
if (LD_BUCKETS(af->dynamic) == 0)
- return NULL;
+ return 0;
hashbase = AOUT_RELOC(af, struct rrs_hash, LD_HASH(af->dynamic));
symbolbase = AOUT_RELOC(af, struct nzlist, LD_SYMBOL(af->dynamic));
OpenPOWER on IntegriCloud