aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-23 15:08:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-23 15:08:25 +0200
commit8b77a9ea81a0bd89ee69e7742d9b920dd1562763 (patch)
tree1354e046ab15d0fb3e234b38805f1b0cfd9e8114 /selinux
parent12ffefb5490b281db7f2cde11bf8cf8c91283e83 (diff)
downloadbusybox-8b77a9ea81a0bd89ee69e7742d9b920dd1562763.tar.gz
*: fix fallout from opt_complementary conversion
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux')
-rw-r--r--selinux/setfiles.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index 8da47d274..740eaf8fb 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -613,19 +613,21 @@ int setfiles_main(int argc UNUSED_PARAM, char **argv)
/* Option order must match OPT_x definitions! */
if (applet_name[0] == 'r') { /* restorecon */
flags = getopt32(argv, "^"
- "de:*f:ilnpqrsvo:FWR",
- "\0" "vv:v--p:p--v:v--q:q--v";
+ "de:*f:ilnpqrsvo:FWR"
+ "\0"
+ "vv:v--p:p--v:v--q:q--v",
&exclude_dir, &input_filename, &out_filename,
- &verbose
+ &verbose
);
} else { /* setfiles */
flags = getopt32(argv, "^"
"de:*f:ilnpqr:svo:FW"
- IF_FEATURE_SETFILES_CHECK_OPTION("c:"),
- "\0" "vv:v--p:p--v:v--q:q--v";
+ IF_FEATURE_SETFILES_CHECK_OPTION("c:")
+ "\0"
+ "vv:v--p:p--v:v--q:q--v",
&exclude_dir, &input_filename, &rootpath, &out_filename,
IF_FEATURE_SETFILES_CHECK_OPTION(&policyfile,)
- &verbose
+ &verbose
);
}
argv += optind;