summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRostislav Skudnov2019-02-06 11:57:29 +0000
committerDenys Vlasenko2019-02-08 12:24:46 +0100
commite6503f2f0982378cd753be152fa19f8336c357bc (patch)
tree70a15dc797441daa62ea048b17bf6d7c7adc7c1b
parent5a387e26c2460428d4d5d9a2b2f074a31a994da1 (diff)
downloadbusybox-e6503f2f0982378cd753be152fa19f8336c357bc.zip
busybox-e6503f2f0982378cd753be152fa19f8336c357bc.tar.gz
chcon: Fix typo in ACTION_RECURSE
Signed-off-by: Rostislav Skudnov <rostislav@tuxera.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--selinux/chcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 92eb767..5bf9171 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -204,7 +204,7 @@ int chcon_main(int argc UNUSED_PARAM, char **argv)
fname[fname_len] = '\0';
if (recursive_action(fname,
- ((option_mask32 & OPT_RECURSIVE) ? ACTION_RECURSIVE : 0),
+ ((option_mask32 & OPT_RECURSIVE) ? ACTION_RECURSE : 0),
change_filedir_context,
change_filedir_context,
NULL, 0) != TRUE)