aboutsummaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-18 22:04:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-18 22:04:09 +0000
commit89f0b3486dfea233e6000f9af95b39a3ea7fd96e (patch)
treefc0d65e0d33b5b526b0d44d4c4da8143be3b53b1 /modutils/insmod.c
parent61126ab30a90b74e45a79ccb97074ab71afa6054 (diff)
downloadbusybox-w32-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.gz
busybox-w32-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.bz2
busybox-w32-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.zip
rodata cleanup. "unable to" == "cannot". -300 bytes
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 49b823d0e..ff96736af 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -4299,12 +4299,12 @@ int insmod_ng_main( int argc, char **argv)
4299 len = st.st_size; 4299 len = st.st_size;
4300 map = mmap(NULL, len, PROT_READ, MAP_PRIVATE, fd, 0); 4300 map = mmap(NULL, len, PROT_READ, MAP_PRIVATE, fd, 0);
4301 if (map == MAP_FAILED) { 4301 if (map == MAP_FAILED) {
4302 bb_perror_msg_and_die("cannot mmap `%s'", filename); 4302 bb_perror_msg_and_die("cannot mmap '%s'", filename);
4303 } 4303 }
4304 4304
4305 ret = syscall(__NR_init_module, map, len, options); 4305 ret = syscall(__NR_init_module, map, len, options);
4306 if (ret != 0) { 4306 if (ret != 0) {
4307 bb_perror_msg_and_die("cannot insert `%s': %s (%li)", 4307 bb_perror_msg_and_die("cannot insert '%s': %s (%li)",
4308 filename, moderror(errno), ret); 4308 filename, moderror(errno), ret);
4309 } 4309 }
4310 4310