aboutsummaryrefslogtreecommitdiff
path: root/modutils/rmmod.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 00:32:05 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-12 00:32:05 +0000
commit51742f4bb0c57a4d5063ece9437a2f34a42e52c8 (patch)
tree7a912fc65ff43bdb09078d75bfc02ad8f5380b47 /modutils/rmmod.c
parent50f7f446ecaadef6895a4ee601567e0b68330637 (diff)
downloadbusybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.gz
busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.tar.bz2
busybox-w32-51742f4bb0c57a4d5063ece9437a2f34a42e52c8.zip
style fixes. No code changes
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 0a67b8965..67cf58c3b 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -46,11 +46,11 @@ int rmmod_main(int argc, char **argv)
46 46
47 /* Parse command line. */ 47 /* Parse command line. */
48 n = getopt32(argc, argv, "wfa"); 48 n = getopt32(argc, argv, "wfa");
49 if((n & 1)) // --wait 49 if (n & 1) // --wait
50 flags &= ~O_NONBLOCK; 50 flags &= ~O_NONBLOCK;
51 if((n & 2)) // --force 51 if (n & 2) // --force
52 flags |= O_TRUNC; 52 flags |= O_TRUNC;
53 if((n & 4)) { 53 if (n & 4) {
54 /* Unload _all_ unused modules via NULL delete_module() call */ 54 /* Unload _all_ unused modules via NULL delete_module() call */
55 /* until the number of modules does not change */ 55 /* until the number of modules does not change */
56 size_t nmod = 0; /* number of modules */ 56 size_t nmod = 0; /* number of modules */