diff options
Diffstat (limited to 'selinux/chcon.c')
-rw-r--r-- | selinux/chcon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c index 55c2522f6..4395a7ee4 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -49,12 +49,12 @@ static int FAST_FUNC change_filedir_context( | |||
49 | } | 49 | } |
50 | if (status < 0 && errno != ENODATA) { | 50 | if (status < 0 && errno != ENODATA) { |
51 | if ((option_mask32 & OPT_QUIET) == 0) | 51 | if ((option_mask32 & OPT_QUIET) == 0) |
52 | bb_error_msg("cannot obtain security context: %s", fname); | 52 | bb_error_msg("can't obtain security context: %s", fname); |
53 | goto skip; | 53 | goto skip; |
54 | } | 54 | } |
55 | 55 | ||
56 | if (file_context == NULL && specified_context == NULL) { | 56 | if (file_context == NULL && specified_context == NULL) { |
57 | bb_error_msg("cannot apply partial context to unlabeled file %s", fname); | 57 | bb_error_msg("can't apply partial context to unlabeled file %s", fname); |
58 | goto skip; | 58 | goto skip; |
59 | } | 59 | } |
60 | 60 | ||
@@ -62,7 +62,7 @@ static int FAST_FUNC change_filedir_context( | |||
62 | context = set_security_context_component(file_context, | 62 | context = set_security_context_component(file_context, |
63 | user, role, type, range); | 63 | user, role, type, range); |
64 | if (!context) { | 64 | if (!context) { |
65 | bb_error_msg("cannot compute security context from %s", file_context); | 65 | bb_error_msg("can't compute security context from %s", file_context); |
66 | goto skip; | 66 | goto skip; |
67 | } | 67 | } |
68 | } else { | 68 | } else { |
@@ -75,7 +75,7 @@ static int FAST_FUNC change_filedir_context( | |||
75 | 75 | ||
76 | context_string = context_str(context); | 76 | context_string = context_str(context); |
77 | if (!context_string) { | 77 | if (!context_string) { |
78 | bb_error_msg("cannot obtain security context in text expression"); | 78 | bb_error_msg("can't obtain security context in text expression"); |
79 | goto skip; | 79 | goto skip; |
80 | } | 80 | } |
81 | 81 | ||