aboutsummaryrefslogtreecommitdiff
path: root/modutils/modutils-24.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/modutils-24.c')
-rw-r--r--modutils/modutils-24.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/modutils/modutils-24.c b/modutils/modutils-24.c
index ae0afd44c..ecab193ce 100644
--- a/modutils/modutils-24.c
+++ b/modutils/modutils-24.c
@@ -3810,7 +3810,7 @@ static void print_load_map(struct obj_file *f UNUSED_PARAM)
3810} 3810}
3811#endif 3811#endif
3812 3812
3813int FAST_FUNC bb_init_module_24(const char *m_filename, const char *options UNUSED_PARAM) 3813int FAST_FUNC bb_init_module_24(const char *m_filename, const char *options)
3814{ 3814{
3815 int k_crcs; 3815 int k_crcs;
3816 unsigned long m_size; 3816 unsigned long m_size;
@@ -3906,13 +3906,13 @@ int FAST_FUNC bb_init_module_24(const char *m_filename, const char *options UNUS
3906 3906
3907 m_addr = create_module(m_name, m_size); 3907 m_addr = create_module(m_name, m_size);
3908 if (m_addr == (ElfW(Addr))(-1)) switch (errno) { 3908 if (m_addr == (ElfW(Addr))(-1)) switch (errno) {
3909 case EEXIST: 3909 case EEXIST:
3910 bb_error_msg_and_die("a module named %s already exists", m_name); 3910 bb_error_msg_and_die("a module named %s already exists", m_name);
3911 case ENOMEM: 3911 case ENOMEM:
3912 bb_error_msg_and_die("can't allocate kernel memory for module; needed %lu bytes", 3912 bb_error_msg_and_die("can't allocate kernel memory for module; needed %lu bytes",
3913 m_size); 3913 m_size);
3914 default: 3914 default:
3915 bb_perror_msg_and_die("create_module: %s", m_name); 3915 bb_perror_msg_and_die("create_module: %s", m_name);
3916 } 3916 }
3917 3917
3918#if !LOADBITS 3918#if !LOADBITS