aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-29 16:18:57 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2005-09-29 16:18:57 +0000
commit39a841cecf616098c9c8cf63bbfea5ea2922097c (patch)
tree5b3a1d569d1e952d8c43899050dca4d6c47bf176 /modutils/insmod.c
parent6a60c821a81b01a136037f8389bd42d86b37e395 (diff)
downloadbusybox-w32-39a841cecf616098c9c8cf63bbfea5ea2922097c.tar.gz
busybox-w32-39a841cecf616098c9c8cf63bbfea5ea2922097c.tar.bz2
busybox-w32-39a841cecf616098c9c8cf63bbfea5ea2922097c.zip
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
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r--modutils/insmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 232a6e691..94e66f48c 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -3756,10 +3756,10 @@ extern int insmod_main( int argc, char **argv)
3756 3756
3757#if defined(CONFIG_FEATURE_2_6_MODULES) 3757#if defined(CONFIG_FEATURE_2_6_MODULES)
3758 if (k_version > 4) 3758 if (k_version > 4)
3759 bb_xasprintf(&m_fullName, "%s.ko", tmp); 3759 m_fullName = bb_xasprintf("%s.ko", tmp);
3760 else 3760 else
3761#endif 3761#endif
3762 bb_xasprintf(&m_fullName, "%s.o", tmp); 3762 m_fullName = bb_xasprintf("%s.o", tmp);
3763 3763
3764 if (!m_name) { 3764 if (!m_name) {
3765 m_name = tmp; 3765 m_name = tmp;