- fix typo (Cristian Ionescu-Idbohrn)
This commit is contained in:
parent
24a131ea4d
commit
5606b1c4f3
@ -3082,7 +3082,7 @@ static void obj_allocate_commons(struct obj_file *f)
|
||||
if (i == f->header.e_shnum) {
|
||||
struct obj_section *sec;
|
||||
|
||||
f->sections = xrealloc(f->sections, 2, i);
|
||||
f->sections = xrealloc_vector(f->sections, 2, i);
|
||||
f->sections[i] = sec = arch_new_section();
|
||||
f->header.e_shnum = i + 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user