summaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
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 232a6e6..94e66f4 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -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;