summaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/swaponoff.c')
-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 9bb70a1..c693cf9 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -15,7 +15,7 @@
#include <sys/swap.h>
-static int swap_enable_disable(const char *device)
+static int swap_enable_disable(char *device)
{
int status;
struct stat st;