change interface to bb_xasprintf() - more perfect for me.
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum
This commit is contained in:
parent
6a60c821a8
commit
39a841cecf
16 changed files with 33 additions and 49 deletions
|
@ -3756,10 +3756,10 @@ extern int insmod_main( int argc, char **argv)
|
|||
|
||||
#if defined(CONFIG_FEATURE_2_6_MODULES)
|
||||
if (k_version > 4)
|
||||
bb_xasprintf(&m_fullName, "%s.ko", tmp);
|
||||
m_fullName = bb_xasprintf("%s.ko", tmp);
|
||||
else
|
||||
#endif
|
||||
bb_xasprintf(&m_fullName, "%s.o", tmp);
|
||||
m_fullName = bb_xasprintf("%s.o", tmp);
|
||||
|
||||
if (!m_name) {
|
||||
m_name = tmp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue