summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/swaponoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 7e548a4..c29dd30 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -92,7 +92,7 @@ enum {
#define OPT_IFEXISTS (option_mask32 & OPT_e)
#define OPT_PRIO (option_mask32 & OPT_p)
-static int swap_enable_disable(const char *device)
+static int swap_enable_disable(char *device)
{
int err = 0;
int quiet = 0;