aboutsummaryrefslogtreecommitdiff
path: root/util-linux/swaponoff.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-08-28 13:00:29 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-08-28 13:00:29 +0200
commitcc272b06eefb87030bb85b686abdbc22b5ed1c34 (patch)
tree06024199184cfab43807a1fdcc2a240b9cf5ac99 /util-linux/swaponoff.c
parentd84b175cb6948eb17f847313bf912174e2f934e1 (diff)
downloadbusybox-w32-1_19_1.tar.gz
busybox-w32-1_19_1.tar.bz2
busybox-w32-1_19_1.zip
Apply post-1.19.0 patches, bump version to 1.19.11_19_1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/swaponoff.c')
-rw-r--r--util-linux/swaponoff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/swaponoff.c b/util-linux/swaponoff.c
index 43ddb4031..e53e24c71 100644
--- a/util-linux/swaponoff.c
+++ b/util-linux/swaponoff.c
@@ -114,7 +114,8 @@ int swap_on_off_main(int argc UNUSED_PARAM, char **argv)
114#if !ENABLE_FEATURE_SWAPON_PRI 114#if !ENABLE_FEATURE_SWAPON_PRI
115 ret = getopt32(argv, "a"); 115 ret = getopt32(argv, "a");
116#else 116#else
117 opt_complementary = "p+"; 117 if (applet_name[5] == 'n')
118 opt_complementary = "p+";
118 ret = getopt32(argv, (applet_name[5] == 'n') ? "ap:" : "a", &g_flags); 119 ret = getopt32(argv, (applet_name[5] == 'n') ? "ap:" : "a", &g_flags);
119 120
120 if (ret & 2) { // -p 121 if (ret & 2) { // -p