← Commit list

6c634f796

Denys Vlasenko
Denys Vlasenko
2015-12-18
SUCCESS Duration: 184s

Subject

swaponoff: fix compile-time warning

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/swaponoff.c+1 -1
@@ -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;