aboutsummaryrefslogtreecommitdiff
path: root/modutils/rmmod.c
diff options
context:
space:
mode:
authortimr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-25 00:08:53 +0000
committertimr <timr@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-01-25 00:08:53 +0000
commitfd8222f9b9db2a783b17ec9c59cf3fc22a4e4586 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /modutils/rmmod.c
parent45d75f9ecc8f2b582407059da7d414f990ced68a (diff)
downloadbusybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.gz
busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.tar.bz2
busybox-w32-fd8222f9b9db2a783b17ec9c59cf3fc22a4e4586.zip
just whitespace
git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'modutils/rmmod.c')
-rw-r--r--modutils/rmmod.c6
1 files changed, 3 insertions, 3 deletions
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];