insmod don't compile (was: Missing libbb/xrealloc_vector.c)

Bernhard Fischer rep.dot.nop at gmail.com
Wed Jul 9 17:58:16 UTC 2008


On Wed, Jul 09, 2008 at 07:23:55PM +0200, Cristian Ionescu-Idbohrn wrote:
>On Wed, 9 Jul 2008, Cristian Ionescu-Idbohrn wrote:
>
>> There seems to be more to it:
>>
>>   modutils/insmod.c: In function 'obj_allocate_commons':
>>   modutils/insmod.c:3085: error: too many arguments to function 'xrealloc'
>
>That line reads:
>
>			f->sections = xrealloc(f->sections, 2, i);
>
>that is 3 arguments, but the prototype is:
>
>include/libbb.h:void *xrealloc(void *old, size_t size) FAST_FUNC;
>
>only 2 arguments.

merged blindly, thanks.



More information about the busybox mailing list