summaryrefslogtreecommitdiff
path: root/src/core/ima-setup.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-03 12:20:49 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-04 12:09:50 +0200
commit392fd235fd6301f5059d7b62ebacc129561e8c8f (patch)
treea95ab0fc27066ef7530cebb594d6c108e50ec221 /src/core/ima-setup.c
parent3211da4bcb951dd0f20e4413be192cb382ddcc32 (diff)
downloadsystemd-392fd235fd6301f5059d7b62ebacc129561e8c8f.tar.gz
build-sys: s/HAVE_IMA/ENABLE_IMA/
Same justification as for HAVE_UTMP.
Diffstat (limited to 'src/core/ima-setup.c')
-rw-r--r--src/core/ima-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ima-setup.c b/src/core/ima-setup.c
index 1aaae9f49e..6c7b209977 100644
--- a/src/core/ima-setup.c
+++ b/src/core/ima-setup.c
@@ -33,7 +33,7 @@
#define IMA_POLICY_PATH "/etc/ima/ima-policy"
int ima_setup(void) {
-#if HAVE_IMA
+#if ENABLE_IMA
_cleanup_fclose_ FILE *input = NULL;
_cleanup_close_ int imafd = -1;
unsigned lineno = 0;
@@ -93,6 +93,6 @@ int ima_setup(void) {
done:
log_info("Successfully loaded the IMA custom policy "IMA_POLICY_PATH".");
-#endif /* HAVE_IMA */
+#endif /* ENABLE_IMA */
return 0;
}