diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2015-12-22 08:54:17 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2015-12-22 08:54:17 +0000 |
commit | a18d798c10619d3bbcd6d420d8658849539f6fd1 (patch) | |
tree | dc90c555a10ad2151be8322fb5e63c35481ac6c3 /libexec/ld.so/library_mquery.c | |
parent | 44cfc722cc5c6181c1822b7c4ac9c34d3fed2eeb (diff) |
assign pointers to NULL rather than 0
Diffstat (limited to 'libexec/ld.so/library_mquery.c')
-rw-r--r-- | libexec/ld.so/library_mquery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/library_mquery.c b/libexec/ld.so/library_mquery.c index 87795e717bf..5868fbf2f00 100644 --- a/libexec/ld.so/library_mquery.c +++ b/libexec/ld.so/library_mquery.c @@ -1,4 +1,4 @@ -/* $OpenBSD: library_mquery.c,v 1.50 2015/11/06 05:12:30 guenther Exp $ */ +/* $OpenBSD: library_mquery.c,v 1.51 2015/12/22 08:54:16 mmcc Exp $ */ /* * Copyright (c) 2002 Dale Rahn @@ -103,7 +103,7 @@ _dl_tryload_shlib(const char *libname, int type, int flags) int libfile, i; struct load_list *ld, *lowld = NULL; elf_object_t *object; - Elf_Dyn *dynp = 0; + Elf_Dyn *dynp = NULL; Elf_Ehdr *ehdr; Elf_Phdr *phdp; Elf_Addr load_end = 0; |