aboutsummaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r--util-linux/swaponoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 48f6f4e0b..beefac030 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -59,11 +59,11 @@ static int do_em_all(void)
59} 59}
60 60
61int swap_on_off_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 61int swap_on_off_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
62int swap_on_off_main(int argc, char **argv) 62int swap_on_off_main(int argc ATTRIBUTE_UNUSED, char **argv)
63{ 63{
64 int ret; 64 int ret;
65 65
66 if (argc == 1) 66 if (!argv[1])
67 bb_show_usage(); 67 bb_show_usage();
68 68
69 ret = getopt32(argv, "a"); 69 ret = getopt32(argv, "a");