[git commit] chcon: Fix typo in ACTION_RECURSE

Denys Vlasenko vda.linux at googlemail.com
Fri Feb 8 11:24:46 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=e6503f2f0982378cd753be152fa19f8336c357bc
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Rostislav Skudnov <rostislav at tuxera.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 selinux/chcon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/selinux/chcon.c b/selinux/chcon.c
index 92eb76737..5bf91710c 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)


More information about the busybox-cvs mailing list