diff options
Diffstat (limited to 'selinux/setenforce.c')
-rw-r--r-- | selinux/setenforce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/setenforce.c b/selinux/setenforce.c index a2d0428..45f8223 100644 --- a/selinux/setenforce.c +++ b/selinux/setenforce.c @@ -21,11 +21,11 @@ static const char *const setenforce_cmd[] = { }; int setenforce_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; -int setenforce_main(int argc, char **argv) +int setenforce_main(int argc UNUSED_PARAM, char **argv) { int i, rc; - if (argc != 2) + if (!argv[1] || argv[2]) bb_show_usage(); selinux_or_die(); |