depmod: fix idx calculation after postponed array creation
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Sat, 14 Jan 2012 04:04:56 +0000 (02:04 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Sat, 14 Jan 2012 04:07:14 +0000 (02:07 -0200)
commit33557e8d698f826ce5751bb6a0aa60b207922cda
tree973b5560bd415dfa595ca4e7e2f3dd0408777bba
parent31f1d0d306cb97434ae50ac2104697cd7444c755
depmod: fix idx calculation after postponed array creation

We need to set up each module's idx when the array is created. So,
postpone its initialization as well.
tools/kmod-depmod.c