aboutsummaryrefslogtreecommitdiff
path: root/modutils/rmmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/rmmod.c')
-rw-r--r--modutils/rmmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/rmmod.c b/modutils/rmmod.c
index dde77731f..2486511d7 100644
--- a/modutils/rmmod.c
+++ b/modutils/rmmod.c
@@ -35,9 +35,9 @@ int rmmod_main(int argc UNUSED_PARAM, char **argv)
35 /* Parse command line. */ 35 /* Parse command line. */
36 n = getopt32(argv, "wfas"); // -s ignored 36 n = getopt32(argv, "wfas"); // -s ignored
37 argv += optind; 37 argv += optind;
38 if (n & 1) // --wait 38 if (n & 1) // --wait
39 flags &= ~O_NONBLOCK; 39 flags &= ~O_NONBLOCK;
40 if (n & 2) // --force 40 if (n & 2) // --force
41 flags |= O_TRUNC; 41 flags |= O_TRUNC;
42 if (n & 4) { 42 if (n & 4) {
43 /* Unload _all_ unused modules via NULL delete_module() call */ 43 /* Unload _all_ unused modules via NULL delete_module() call */