- fix typo (Cristian Ionescu-Idbohrn)
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 9 Jul 2008 17:56:53 +0000 (17:56 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 9 Jul 2008 17:56:53 +0000 (17:56 -0000)
modutils/insmod.c

index df6bf10..3b55451 100644 (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;