diff options
Diffstat (limited to 'toolbox/swapoff.c')
-rw-r--r-- | toolbox/swapoff.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/toolbox/swapoff.c b/toolbox/swapoff.c deleted file mode 100644 index d8f6a00..0000000 --- a/toolbox/swapoff.c +++ /dev/null @@ -1,20 +0,0 @@ -#include <stdio.h> -#include <unistd.h> -#include <sys/swap.h> - -int swapoff_main(int argc, char **argv) -{ - int err = 0; - - if (argc != 2) { - fprintf(stderr, "Usage: %s <filename>\n", argv[0]); - return -EINVAL; - } - - err = swapoff(argv[1]); - if (err) { - fprintf(stderr, "swapoff failed for %s\n", argv[1]); - } - - return err; -} |