summaryrefslogtreecommitdiff
path: root/src/core/ima-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ima-setup.c')
-rw-r--r--src/core/ima-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ima-setup.c b/src/core/ima-setup.c
index 8e4fed17e7..0e0d16a7c9 100644
--- a/src/core/ima-setup.c
+++ b/src/core/ima-setup.c
@@ -66,7 +66,7 @@ int ima_setup(void) {
return 0;
}
- r = copy_bytes(policyfd, imafd, -1);
+ r = copy_bytes(policyfd, imafd, (off_t) -1, false);
if (r < 0)
log_error_errno(r, "Failed to load the IMA custom policy file "IMA_POLICY_PATH": %m");
else