diff options
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 4 | ||||
-rw-r--r-- | modutils/lsmod.c | 2 | ||||
-rw-r--r-- | modutils/rmmod.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 2495634..2b2e363 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -981,7 +981,7 @@ arch_apply_relocation(struct obj_file *f, /* dot is the address of the current instruction. * v is the target symbol address. * So we need to extract the offset in the code, - * adding v, then subtrating the current address + * adding v, then subtrating the current address * of this instruction. * Ex: "IMM 0xFFFE bralid 0x0000" = "bralid 0xFFFE0000" */ @@ -990,7 +990,7 @@ arch_apply_relocation(struct obj_file *f, unsigned int temp = (loc[0] & 0xFFFF) << 16 | (loc[1] & 0xFFFF); - /* Adjust relative offset. -4 adjustment required + /* Adjust relative offset. -4 adjustment required * because dot points to the IMM insn, but branch * is computed relative to the branch instruction itself. */ diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 2bc1ae6..69c8ab3 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -104,7 +104,7 @@ int lsmod_main(int argc, char **argv) if (errno == ENOENT) { /* The module was removed out from underneath us. */ continue; - } else if (errno != ENOSPC) + } else if (errno != ENOSPC) bb_perror_msg_and_die("module %s: QM_REFS", mn); deps = xrealloc(deps, count); } diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 8f21031..f87fb5e 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -36,7 +36,7 @@ void filename2modname(char *modname, const char *afterslash); // There really should be a header file for this... int query_module(const char *name, int which, void *buf, - size_t bufsize, size_t *ret); + size_t bufsize, size_t *ret); int rmmod_main(int argc, char **argv) { |