chcon: Fix typo in ACTION_RECURSE
authorRostislav Skudnov <rostislav@tuxera.com>
Wed, 6 Feb 2019 11:57:29 +0000 (11:57 +0000)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 8 Feb 2019 11:24:46 +0000 (12:24 +0100)
Signed-off-by: Rostislav Skudnov <rostislav@tuxera.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
selinux/chcon.c

index 92eb76737578c1eebaa053092533202a8f4ab0d0..5bf91710c52d176c88a44b7b5b34fd8df76843ca 100644 (file)
@@ -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)