summaryrefslogtreecommitdiff
path: root/src/journal/journal-authenticate.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-20 16:11:42 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-20 16:11:42 +0200
commit8088cbd3cfcf539c984d8042cd2b92ebbfda6d82 (patch)
tree564b151870105cb540313774907181c1bf85c3b1 /src/journal/journal-authenticate.c
parentf7fab8a5ae7a3b378040203821383f5a8fc91126 (diff)
journal: use a macro to check for file header flags
Diffstat (limited to 'src/journal/journal-authenticate.c')
-rw-r--r--src/journal/journal-authenticate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-authenticate.c b/src/journal/journal-authenticate.c
index 9853edb58c..ddcf856aec 100644
--- a/src/journal/journal-authenticate.c
+++ b/src/journal/journal-authenticate.c
@@ -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);
}