]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: Rename variable to clarify its meaning
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 30 May 2014 12:01:24 +0000 (09:01 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 30 May 2014 12:03:33 +0000 (09:03 -0300)
commita873f2350f15a7803780f473257dc2467df0a229
tree4ee9e2ed9559aa8320c90f51786e45de61f2d1f5
parent86e19e9acd62e5729fa66e850fd13df991ae7fca
depmod: Rename variable to clarify its meaning

In mod->modnamelen we were actually including the '\0', i.e.
strlen(modname) + 1. So rename it to modnamesz and add a comment in
depmod_module_is_higher_priority() to notice why it's correct since the
new one is really using strlen(modname).
tools/depmod.c