summaryrefslogtreecommitdiff
path: root/libexec/ld.so/alpha
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-12-22 08:54:17 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-12-22 08:54:17 +0000
commita18d798c10619d3bbcd6d420d8658849539f6fd1 (patch)
treedc90c555a10ad2151be8322fb5e63c35481ac6c3 /libexec/ld.so/alpha
parent44cfc722cc5c6181c1822b7c4ac9c34d3fed2eeb (diff)
assign pointers to NULL rather than 0
Diffstat (limited to 'libexec/ld.so/alpha')
-rw-r--r--libexec/ld.so/alpha/rtld_machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/alpha/rtld_machine.c b/libexec/ld.so/alpha/rtld_machine.c
index cff131f6242..8fd97230152 100644
--- a/libexec/ld.so/alpha/rtld_machine.c
+++ b/libexec/ld.so/alpha/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.56 2015/11/02 07:02:53 guenther Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.57 2015/12/22 08:54:16 mmcc Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -329,7 +329,7 @@ void _reloc_alpha_got(Elf_Dyn *dynp, Elf_Addr relocbase);
void
_reloc_alpha_got(Elf_Dyn *dynp, Elf_Addr relocbase)
{
- const Elf_RelA *rela = 0, *relalim;
+ const Elf_RelA *rela = NULL, *relalim;
Elf_Addr relasz = 0;
Elf_Addr *where;