summaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-14 02:23:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-14 02:23:43 +0000
commitea62077b850076c4d7dc3cf78ebd1888928c6ddf (patch)
tree37b7584ae40b99edb5583fbc4392b62ffdadf278 /modutils/insmod.c
parent88ca06769028e442bf873b270c176ca0e9f021f8 (diff)
downloadbusybox-w32-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.tar.gz
busybox-w32-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.tar.bz2
busybox-w32-ea62077b850076c4d7dc3cf78ebd1888928c6ddf.zip
add open_read_close() and similar stuff
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 3d9add19a..882fcf80f 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -4186,10 +4186,10 @@ int insmod_main( int argc, char **argv)
4186 m_addr = create_module(m_name, m_size); 4186 m_addr = create_module(m_name, m_size);
4187 if (m_addr == -1) switch (errno) { 4187 if (m_addr == -1) switch (errno) {
4188 case EEXIST: 4188 case EEXIST:
4189 bb_error_msg("A module named %s already exists", m_name); 4189 bb_error_msg("a module named %s already exists", m_name);
4190 goto out; 4190 goto out;
4191 case ENOMEM: 4191 case ENOMEM:
4192 bb_error_msg("Can't allocate kernel memory for module; needed %lu bytes", 4192 bb_error_msg("can't allocate kernel memory for module; needed %lu bytes",
4193 m_size); 4193 m_size);
4194 goto out; 4194 goto out;
4195 default: 4195 default: