- fix typo (Cristian Ionescu-Idbohrn)

This commit is contained in:
Bernhard Reutner-Fischer 2008-07-09 17:56:53 +00:00
parent 24a131ea4d
commit 5606b1c4f3

View File

@ -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;