aboutsummaryrefslogtreecommitdiff
path: root/selinux/chcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/chcon.c')
-rw-r--r--selinux/chcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 4395a7ee4..c6be37f44 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -90,13 +90,13 @@ static int FAST_FUNC change_filedir_context(
90 if ((option_mask32 & OPT_VERBOSE) || ((option_mask32 & OPT_CHANHES) && !fail)) { 90 if ((option_mask32 & OPT_VERBOSE) || ((option_mask32 & OPT_CHANHES) && !fail)) {
91 printf(!fail 91 printf(!fail
92 ? "context of %s changed to %s\n" 92 ? "context of %s changed to %s\n"
93 : "failed to change context of %s to %s\n", 93 : "can't change context of %s to %s\n",
94 fname, context_string); 94 fname, context_string);
95 } 95 }
96 if (!fail) { 96 if (!fail) {
97 rc = TRUE; 97 rc = TRUE;
98 } else if ((option_mask32 & OPT_QUIET) == 0) { 98 } else if ((option_mask32 & OPT_QUIET) == 0) {
99 bb_error_msg("failed to change context of %s to %s", 99 bb_error_msg("can't change context of %s to %s",
100 fname, context_string); 100 fname, context_string);
101 } 101 }
102 } else if (option_mask32 & OPT_VERBOSE) { 102 } else if (option_mask32 & OPT_VERBOSE) {