From 5606b1c4f36d6f4f467f85a417183a70bc00fe1d Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 9 Jul 2008 17:56:53 +0000 Subject: - fix typo (Cristian Ionescu-Idbohrn) --- modutils/insmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modutils/insmod.c b/modutils/insmod.c index df6bf10..3b55451 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -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; -- cgit v1.1