summaryrefslogtreecommitdiff
path: root/modutils/insmod.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-18 22:04:09 +0000
committerDenis Vlasenko2006-11-18 22:04:09 +0000
commit89f0b3486dfea233e6000f9af95b39a3ea7fd96e (patch)
treefc0d65e0d33b5b526b0d44d4c4da8143be3b53b1 /modutils/insmod.c
parent61126ab30a90b74e45a79ccb97074ab71afa6054 (diff)
downloadbusybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.zip
busybox-89f0b3486dfea233e6000f9af95b39a3ea7fd96e.tar.gz
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 49b823d..ff96736 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -4299,12 +4299,12 @@ int insmod_ng_main( int argc, char **argv)
len = st.st_size;
map = mmap(NULL, len, PROT_READ, MAP_PRIVATE, fd, 0);
if (map == MAP_FAILED) {
- bb_perror_msg_and_die("cannot mmap `%s'", filename);
+ bb_perror_msg_and_die("cannot mmap '%s'", filename);
}
ret = syscall(__NR_init_module, map, len, options);
if (ret != 0) {
- bb_perror_msg_and_die("cannot insert `%s': %s (%li)",
+ bb_perror_msg_and_die("cannot insert '%s': %s (%li)",
filename, moderror(errno), ret);
}