diff options
Diffstat (limited to 'selinux/getenforce.c')
-rw-r--r-- | selinux/getenforce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/getenforce.c b/selinux/getenforce.c index 0286dd0be..f082ba614 100644 --- a/selinux/getenforce.c +++ b/selinux/getenforce.c | |||
@@ -29,12 +29,12 @@ int getenforce_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) | |||
29 | 29 | ||
30 | rc = is_selinux_enabled(); | 30 | rc = is_selinux_enabled(); |
31 | if (rc < 0) | 31 | if (rc < 0) |
32 | bb_error_msg_and_die("is_selinux_enabled() failed"); | 32 | bb_simple_error_msg_and_die("is_selinux_enabled() failed"); |
33 | 33 | ||
34 | if (rc == 1) { | 34 | if (rc == 1) { |
35 | rc = security_getenforce(); | 35 | rc = security_getenforce(); |
36 | if (rc < 0) | 36 | if (rc < 0) |
37 | bb_error_msg_and_die("getenforce() failed"); | 37 | bb_simple_error_msg_and_die("getenforce() failed"); |
38 | 38 | ||
39 | if (rc) | 39 | if (rc) |
40 | puts("Enforcing"); | 40 | puts("Enforcing"); |