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/alpha | |
parent | 44cfc722cc5c6181c1822b7c4ac9c34d3fed2eeb (diff) |
assign pointers to NULL rather than 0
Diffstat (limited to 'libexec/ld.so/alpha')
-rw-r--r-- | libexec/ld.so/alpha/rtld_machine.c | 4 |
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; |