aboutsummaryrefslogtreecommitdiff
path: root/modutils/rmmod.c
diff options
context:
space:
mode:
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 */