chiark / gitweb /
journal: use a macro to check for file header flags
[elogind.git] / src / journal / journal-authenticate.c
index 9853edb58c70aaaadc4c0663d823ae1790de2673..ddcf856aec1131bcb3cff4fc26d3f6e04236d860 100644 (file)
@@ -464,5 +464,5 @@ int journal_file_append_first_tag(JournalFile *f) {
 bool journal_file_fss_enabled(JournalFile *f) {
         assert(f);
 
-        return !!(le32toh(f->header->compatible_flags) & HEADER_COMPATIBLE_SEALED);
+        return JOURNAL_HEADER_SEALED(f->header);
 }