Rebase Cradlepoint changes over busybox v1.36.0
Fixed rejects in the following files:
./include/libbb.h
./libbb/verror_msg.c
./networking/udhcp/common.c
./sysklogd/syslogd.c
./Makefile
./networking/udhcp/dhcpc.c
Fixed the data structure names to the latest (client_config in dhcpc.c)
Fixed the compiler warning for local address (filename2modname in modutils.c)
Fixed the redefined functions (bb_info_msg)
Change-Id: Ib1f9b28212476f974f20b16c7a393aaf0158f64a
diff --git a/modutils/modutils.c b/modutils/modutils.c
index f7ad5e8..2006c39 100644
--- a/modutils/modutils.c
+++ b/modutils/modutils.c
@@ -98,7 +98,8 @@
if (filename == NULL)
return NULL;
if (modname == NULL)
- modname = local_modname;
+ return NULL;
+ // modname = local_modname;
// Disabled since otherwise "modprobe dir/name" would work
// as if it is "modprobe name". It is unclear why
// 'basenamization' was here in the first place.