aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
Diffstat (limited to 'modutils')
-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