diff options
Diffstat (limited to 'src/journal/coredump.c')
-rw-r--r-- | src/journal/coredump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/journal/coredump.c b/src/journal/coredump.c index 733373b307..29342de681 100644 --- a/src/journal/coredump.c +++ b/src/journal/coredump.c @@ -36,12 +36,14 @@ #include "mkdir.h" #include "special.h" #include "cgroup-util.h" +#include "journald-native.h" /* Few programs have less than 3MiB resident */ #define COREDUMP_MIN_START (3*1024*1024) /* Make sure to not make this larger than the maximum journal entry * size. See ENTRY_SIZE_MAX in journald-native.c. */ #define COREDUMP_MAX (767*1024*1024) +assert_cc(COREDUMP_MAX <= ENTRY_SIZE_MAX); enum { ARG_PID = 1, |