summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2008-07-09 17:56:53 +0000
committerBernhard Reutner-Fischer2008-07-09 17:56:53 +0000
commit5606b1c4f36d6f4f467f85a417183a70bc00fe1d (patch)
tree8fbfa3feaba672585f8b45235f90c4093146385c /modutils
parent24a131ea4d6697f388bf9ef87c84d11b37f95503 (diff)
downloadbusybox-5606b1c4f36d6f4f467f85a417183a70bc00fe1d.zip
busybox-5606b1c4f36d6f4f467f85a417183a70bc00fe1d.tar.gz
- fix typo (Cristian Ionescu-Idbohrn)
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c2
1 files changed, 1 insertions, 1 deletions
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;