diff options
| author | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
|---|---|---|
| committer | Tim Riker <tim@rikers.org> | 2006-01-25 00:08:53 +0000 |
| commit | c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch) | |
| tree | 5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /modutils | |
| parent | f64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff) | |
| download | busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2 busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip | |
just whitespace
Diffstat (limited to 'modutils')
| -rw-r--r-- | modutils/Config.in | 4 | ||||
| -rw-r--r-- | modutils/insmod.c | 4 | ||||
| -rw-r--r-- | modutils/lsmod.c | 2 | ||||
| -rw-r--r-- | modutils/rmmod.c | 6 |
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 | |||
| 75 | config CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT | 75 | config CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT |
| 76 | bool "lsmod pretty output for 2.6.x Linux kernels " | 76 | bool "lsmod pretty output for 2.6.x Linux kernels " |
| 77 | default n | 77 | default n |
| 78 | depends on CONFIG_LSMOD | 78 | depends on CONFIG_LSMOD |
| 79 | help | 79 | help |
| 80 | This option makes output format of lsmod adjusted to | 80 | This option makes output format of lsmod adjusted to |
| 81 | the format of module-init-tools for Linux kernel 2.6. | 81 | the format of module-init-tools for Linux kernel 2.6. |
| 82 | 82 | ||
| 83 | config CONFIG_MODPROBE | 83 | 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); | |||
| 295 | #define CONFIG_PLT_ENTRY_SIZE 8 | 295 | #define CONFIG_PLT_ENTRY_SIZE 8 |
| 296 | #define CONFIG_USE_SINGLE | 296 | #define CONFIG_USE_SINGLE |
| 297 | #ifndef EM_CYGNUS_V850 /* grumble */ | 297 | #ifndef EM_CYGNUS_V850 /* grumble */ |
| 298 | #define EM_CYGNUS_V850 0x9080 | 298 | #define EM_CYGNUS_V850 0x9080 |
| 299 | #endif | 299 | #endif |
| 300 | #define SYMBOL_PREFIX "_" | 300 | #define SYMBOL_PREFIX "_" |
| 301 | #endif | 301 | #endif |
| @@ -695,7 +695,7 @@ static int obj_gpl_license(struct obj_file *f, const char **license); | |||
| 695 | #ifdef SYMBOL_PREFIX | 695 | #ifdef SYMBOL_PREFIX |
| 696 | #define SPFX SYMBOL_PREFIX | 696 | #define SPFX SYMBOL_PREFIX |
| 697 | #else | 697 | #else |
| 698 | #define SPFX "" | 698 | #define SPFX "" |
| 699 | #endif | 699 | #endif |
| 700 | 700 | ||
| 701 | 701 | ||
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) | |||
| 173 | 173 | ||
| 174 | while (fgets(line, sizeof(line), file)) { | 174 | while (fgets(line, sizeof(line), file)) { |
| 175 | char *tok; | 175 | char *tok; |
| 176 | 176 | ||
| 177 | tok = strtok(line, " \t"); | 177 | tok = strtok(line, " \t"); |
| 178 | printf("%-19s", tok); | 178 | printf("%-19s", tok); |
| 179 | tok = strtok(NULL, " \t\n"); | 179 | 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) | |||
| 60 | int n, ret = EXIT_SUCCESS; | 60 | int n, ret = EXIT_SUCCESS; |
| 61 | unsigned int flags = O_NONBLOCK|O_EXCL; | 61 | unsigned int flags = O_NONBLOCK|O_EXCL; |
| 62 | #ifdef CONFIG_FEATURE_QUERY_MODULE_INTERFACE | 62 | #ifdef CONFIG_FEATURE_QUERY_MODULE_INTERFACE |
| 63 | /* bb_common_bufsiz1 hold the module names which we ignore | 63 | /* bb_common_bufsiz1 hold the module names which we ignore |
| 64 | but must get */ | 64 | but must get */ |
| 65 | size_t bufsize = sizeof(bb_common_bufsiz1); | 65 | size_t bufsize = sizeof(bb_common_bufsiz1); |
| 66 | #endif | 66 | #endif |
| @@ -76,7 +76,7 @@ extern int rmmod_main(int argc, char **argv) | |||
| 76 | /* until the number of modules does not change */ | 76 | /* until the number of modules does not change */ |
| 77 | size_t nmod = 0; /* number of modules */ | 77 | size_t nmod = 0; /* number of modules */ |
| 78 | size_t pnmod = -1; /* previous number of modules */ | 78 | size_t pnmod = -1; /* previous number of modules */ |
| 79 | 79 | ||
| 80 | while (nmod != pnmod) { | 80 | while (nmod != pnmod) { |
| 81 | if (syscall(__NR_delete_module, NULL, flags) != 0) { | 81 | if (syscall(__NR_delete_module, NULL, flags) != 0) { |
| 82 | if (errno==EFAULT) | 82 | if (errno==EFAULT) |
| @@ -101,7 +101,7 @@ extern int rmmod_main(int argc, char **argv) | |||
| 101 | #ifdef CONFIG_FEATURE_2_6_MODULES | 101 | #ifdef CONFIG_FEATURE_2_6_MODULES |
| 102 | const char *afterslash; | 102 | const char *afterslash; |
| 103 | char *module_name; | 103 | char *module_name; |
| 104 | 104 | ||
| 105 | afterslash = strrchr(argv[n], '/'); | 105 | afterslash = strrchr(argv[n], '/'); |
| 106 | if (!afterslash) | 106 | if (!afterslash) |
| 107 | afterslash = argv[n]; | 107 | afterslash = argv[n]; |
