Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
busybox
> busybox-1.19.0-swap.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File busybox-1.19.0-swap.patch of Package busybox (Revision 35)
Currently displaying revision
35
,
show latest
--- busybox-1.19.0/util-linux/swaponoff.c +++ busybox-1.19.0-swap/util-linux/swaponoff.c @@ -114,7 +114,8 @@ int swap_on_off_main(int argc UNUSED_PAR #if !ENABLE_FEATURE_SWAPON_PRI ret = getopt32(argv, "a"); #else - opt_complementary = "p+"; + if (applet_name[5] == 'n') + opt_complementary = "p+"; ret = getopt32(argv, (applet_name[5] == 'n') ? "ap:" : "a", &g_flags); if (ret & 2) { // -p