summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-17 16:28:10 +0000
committerDenis Vlasenko2006-09-17 16:28:10 +0000
commit9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch)
tree94c3c0678d1349497abe2db6004e9331e50f6d37 /modutils
parenta6127aacef047ed7661722705b052811fbe7f467 (diff)
downloadbusybox-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip
busybox-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz
whitespace cleanup
Diffstat (limited to 'modutils')
-rw-r--r--modutils/insmod.c4
-rw-r--r--modutils/lsmod.c2
-rw-r--r--modutils/rmmod.c2
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)
{