Module Name: src
Committed By: roy
Date: Tue Sep 29 16:35:42 UTC 2020
Modified Files:
src/tests/libexec/ld.elf_so: t_rtld_r_debug.c
Log Message:
Whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/libexec/ld.elf_so/t_rtld_r_debug.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/libexec/ld.elf_so/t_rtld_r_debug.c
diff -u src/tests/libexec/ld.elf_so/t_rtld_r_debug.c:1.2 src/tests/libexec/ld.elf_so/t_rtld_r_debug.c:1.3
--- src/tests/libexec/ld.elf_so/t_rtld_r_debug.c:1.2 Tue Sep 29 16:34:07 2020
+++ src/tests/libexec/ld.elf_so/t_rtld_r_debug.c Tue Sep 29 16:35:42 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: t_rtld_r_debug.c,v 1.2 2020/09/29 16:34:07 roy Exp $ */
+/* $NetBSD: t_rtld_r_debug.c,v 1.3 2020/09/29 16:35:42 roy Exp $ */
/*
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@ getauxval(unsigned int type)
const AuxInfo *aux;
for (aux = _dlauxinfo(); aux->a_type != AT_NULL; ++aux) {
- if (type == aux->a_type)
+ if (type == aux->a_type)
return aux->a_v;
}
@@ -67,11 +67,11 @@ get_dynamic_section(void)
dynphdr = NULL;
for (; phdr < phlimit; ++phdr) {
- if (phdr->p_type == PT_DYNAMIC)
- dynphdr = phdr;
- if (phdr->p_type == PT_PHDR)
- relocbase = (uintptr_t)phdr - phdr->p_vaddr;
- }
+ if (phdr->p_type == PT_DYNAMIC)
+ dynphdr = phdr;
+ if (phdr->p_type == PT_PHDR)
+ relocbase = (uintptr_t)phdr - phdr->p_vaddr;
+ }
return (Elf_Dyn *)((uint8_t *)dynphdr->p_vaddr + relocbase);
}