diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-17 16:28:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-17 16:28:10 +0000 |
commit | 9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e (patch) | |
tree | 94c3c0678d1349497abe2db6004e9331e50f6d37 /modutils | |
parent | a6127aacef047ed7661722705b052811fbe7f467 (diff) | |
download | busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.gz busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.tar.bz2 busybox-w32-9213a9e0f2d8fd638ecd02e2628d96dd5c7d233e.zip |
whitespace cleanup
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 249563435..2b2e3637d 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -981,7 +981,7 @@ arch_apply_relocation(struct obj_file *f, | |||
981 | /* dot is the address of the current instruction. | 981 | /* dot is the address of the current instruction. |
982 | * v is the target symbol address. | 982 | * v is the target symbol address. |
983 | * So we need to extract the offset in the code, | 983 | * So we need to extract the offset in the code, |
984 | * adding v, then subtrating the current address | 984 | * adding v, then subtrating the current address |
985 | * of this instruction. | 985 | * of this instruction. |
986 | * Ex: "IMM 0xFFFE bralid 0x0000" = "bralid 0xFFFE0000" | 986 | * Ex: "IMM 0xFFFE bralid 0x0000" = "bralid 0xFFFE0000" |
987 | */ | 987 | */ |
@@ -990,7 +990,7 @@ arch_apply_relocation(struct obj_file *f, | |||
990 | unsigned int temp = (loc[0] & 0xFFFF) << 16 | | 990 | unsigned int temp = (loc[0] & 0xFFFF) << 16 | |
991 | (loc[1] & 0xFFFF); | 991 | (loc[1] & 0xFFFF); |
992 | 992 | ||
993 | /* Adjust relative offset. -4 adjustment required | 993 | /* Adjust relative offset. -4 adjustment required |
994 | * because dot points to the IMM insn, but branch | 994 | * because dot points to the IMM insn, but branch |
995 | * is computed relative to the branch instruction itself. | 995 | * is computed relative to the branch instruction itself. |
996 | */ | 996 | */ |
diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 2bc1ae6b1..69c8ab3c7 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c | |||
@@ -104,7 +104,7 @@ int lsmod_main(int argc, char **argv) | |||
104 | if (errno == ENOENT) { | 104 | if (errno == ENOENT) { |
105 | /* The module was removed out from underneath us. */ | 105 | /* The module was removed out from underneath us. */ |
106 | continue; | 106 | continue; |
107 | } else if (errno != ENOSPC) | 107 | } else if (errno != ENOSPC) |
108 | bb_perror_msg_and_die("module %s: QM_REFS", mn); | 108 | bb_perror_msg_and_die("module %s: QM_REFS", mn); |
109 | deps = xrealloc(deps, count); | 109 | deps = xrealloc(deps, count); |
110 | } | 110 | } |
diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 8f210310d..f87fb5e24 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c | |||
@@ -36,7 +36,7 @@ void filename2modname(char *modname, const char *afterslash); | |||
36 | // There really should be a header file for this... | 36 | // There really should be a header file for this... |
37 | 37 | ||
38 | int query_module(const char *name, int which, void *buf, | 38 | int query_module(const char *name, int which, void *buf, |
39 | size_t bufsize, size_t *ret); | 39 | size_t bufsize, size_t *ret); |
40 | 40 | ||
41 | int rmmod_main(int argc, char **argv) | 41 | int rmmod_main(int argc, char **argv) |
42 | { | 42 | { |