Correct a typo.
Submitted by: Kai Wang <kaiw27 at gmail dot com>
This commit is contained in:
parent
06767d306b
commit
4864e6c230
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167687
@ -203,9 +203,9 @@ elf_rawdata(Elf_Scn *s, Elf_Data *d)
|
||||
sh_size = (uint64_t) s->s_shdr.s_shdr32.sh_size;
|
||||
sh_align = (uint64_t) s->s_shdr.s_shdr32.sh_addralign;
|
||||
} else {
|
||||
sh_offset = s->s_shdr.s_shdr32.sh_offset;
|
||||
sh_size = s->s_shdr.s_shdr32.sh_size;
|
||||
sh_align = s->s_shdr.s_shdr32.sh_addralign;
|
||||
sh_offset = s->s_shdr.s_shdr64.sh_offset;
|
||||
sh_size = s->s_shdr.s_shdr64.sh_size;
|
||||
sh_align = s->s_shdr.s_shdr64.sh_addralign;
|
||||
}
|
||||
|
||||
if ((d = _libelf_allocate_data(s)) == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user