summaryrefslogtreecommitdiff
path: root/selinux/getenforce.c
diff options
context:
space:
mode:
Diffstat (limited to 'selinux/getenforce.c')
-rw-r--r--selinux/getenforce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/getenforce.c b/selinux/getenforce.c
index 0286dd0..f082ba6 100644
--- a/selinux/getenforce.c
+++ b/selinux/getenforce.c
@@ -29,12 +29,12 @@ int getenforce_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
rc = is_selinux_enabled();
if (rc < 0)
- bb_error_msg_and_die("is_selinux_enabled() failed");
+ bb_simple_error_msg_and_die("is_selinux_enabled() failed");
if (rc == 1) {
rc = security_getenforce();
if (rc < 0)
- bb_error_msg_and_die("getenforce() failed");
+ bb_simple_error_msg_and_die("getenforce() failed");
if (rc)
puts("Enforcing");