aboutsummaryrefslogtreecommitdiff
path: root/toys/other/swapoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/swapoff.c')
-rw-r--r--toys/other/swapoff.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/toys/other/swapoff.c b/toys/other/swapoff.c
index cac15732..b89e915c 100644
--- a/toys/other/swapoff.c
+++ b/toys/other/swapoff.c
@@ -1,24 +1,21 @@
-/* vi: set sw=4 ts=4:
- *
- * swapoff.c - Disable region for swapping
+/* swapoff.c - Disable region for swapping
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
USE_SWAPOFF(NEWTOY(swapoff, "<1>1", TOYFLAG_BIN|TOYFLAG_NEEDROOT))
config SWAPOFF
- bool "swapoff"
- default y
- help
- usage: swapoff swapregion
+ bool "swapoff"
+ default y
+ help
+ usage: swapoff swapregion
- Disable swapping on a given swapregion.
+ Disable swapping on a given swapregion.
*/
#include "toys.h"
void swapoff_main(void)
{
- if (swapoff(toys.optargs[0]))
- perror_exit("failed to remove swaparea");
+ if (swapoff(toys.optargs[0])) perror_exit("failed to remove swaparea");
}