diff options
Diffstat (limited to 'selinux/chcon.c')
-rw-r--r-- | selinux/chcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c index 5bf91710c..afe7f713d 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c | |||
@@ -107,7 +107,7 @@ static int FAST_FUNC change_filedir_context( | |||
107 | 107 | ||
108 | context_string = context_str(context); | 108 | context_string = context_str(context); |
109 | if (!context_string) { | 109 | if (!context_string) { |
110 | bb_error_msg("can't obtain security context in text expression"); | 110 | bb_simple_error_msg("can't obtain security context in text expression"); |
111 | goto skip; | 111 | goto skip; |
112 | } | 112 | } |
113 | 113 | ||
@@ -194,7 +194,7 @@ int chcon_main(int argc UNUSED_PARAM, char **argv) | |||
194 | /* specified_context is never NULL - | 194 | /* specified_context is never NULL - |
195 | * "-1" in opt_complementary prevents this. */ | 195 | * "-1" in opt_complementary prevents this. */ |
196 | if (!argv[0]) | 196 | if (!argv[0]) |
197 | bb_error_msg_and_die("too few arguments"); | 197 | bb_simple_error_msg_and_die("too few arguments"); |
198 | } | 198 | } |
199 | 199 | ||
200 | for (i = 0; (fname = argv[i]) != NULL; i++) { | 200 | for (i = 0; (fname = argv[i]) != NULL; i++) { |