aboutsummaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorGravatar Tim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
committerGravatar Tim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
commitc1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /modutils
parentf64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff)
downloadbusybox-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
busybox-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2
just whitespace
Diffstat (limited to 'modutils')
-rw-r--r--modutils/Config.in4
-rw-r--r--modutils/insmod.c4
-rw-r--r--modutils/lsmod.c2
-rw-r--r--modutils/rmmod.c6
4 files changed, 8 insertions, 8 deletions
diff --git a/modutils/Config.in b/modutils/Config.in
index 8f23be836..b04988c7a 100644
--- a/modutils/Config.in
+++ b/modutils/Config.in
@@ -75,9 +75,9 @@ config CONFIG_LSMOD
config CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
bool "lsmod pretty output for 2.6.x Linux kernels "
default n
- depends on CONFIG_LSMOD
+ depends on CONFIG_LSMOD
help
- This option makes output format of lsmod adjusted to
+ This option makes output format of lsmod adjusted to
the format of module-init-tools for Linux kernel 2.6.
config CONFIG_MODPROBE
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 79bdebd2c..390a50316 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -295,7 +295,7 @@ extern int insmod_ng_main( int argc, char **argv);
#define CONFIG_PLT_ENTRY_SIZE 8
#define CONFIG_USE_SINGLE
#ifndef EM_CYGNUS_V850 /* grumble */
-#define EM_CYGNUS_V850 0x9080
+#define EM_CYGNUS_V850 0x9080
#endif
#define SYMBOL_PREFIX "_"
#endif
@@ -695,7 +695,7 @@ static int obj_gpl_license(struct obj_file *f, const char **license);
#ifdef SYMBOL_PREFIX
#define SPFX SYMBOL_PREFIX
#else
-#define SPFX ""
+#define SPFX ""
#endif
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 3d9f700fb..018bc5323 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -173,7 +173,7 @@ extern int lsmod_main(int argc, char **argv)
while (fgets(line, sizeof(line), file)) {
char *tok;
-
+
tok = strtok(line, " \t");
printf("%-19s", tok);
tok = strtok(NULL, " \t\n");
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index 7bc929de2..44c606e47 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -60,7 +60,7 @@ extern int rmmod_main(int argc, char **argv)
int n, ret = EXIT_SUCCESS;
unsigned int flags = O_NONBLOCK|O_EXCL;
#ifdef CONFIG_FEATURE_QUERY_MODULE_INTERFACE
- /* bb_common_bufsiz1 hold the module names which we ignore
+ /* bb_common_bufsiz1 hold the module names which we ignore
but must get */
size_t bufsize = sizeof(bb_common_bufsiz1);
#endif
@@ -76,7 +76,7 @@ extern int rmmod_main(int argc, char **argv)
/* until the number of modules does not change */
size_t nmod = 0; /* number of modules */
size_t pnmod = -1; /* previous number of modules */
-
+
while (nmod != pnmod) {
if (syscall(__NR_delete_module, NULL, flags) != 0) {
if (errno==EFAULT)
@@ -101,7 +101,7 @@ extern int rmmod_main(int argc, char **argv)
#ifdef CONFIG_FEATURE_2_6_MODULES
const char *afterslash;
char *module_name;
-
+
afterslash = strrchr(argv[n], '/');
if (!afterslash)
afterslash = argv[n];