From 39a841cecf616098c9c8cf63bbfea5ea2922097c Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Thu, 29 Sep 2005 16:18:57 +0000 Subject: 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 --- modutils/insmod.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modutils/insmod.c') 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) #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; -- cgit v1.2.3