mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
journal: Fix missing parenthesis
(cherry picked from commitf63d1b0efa
) (cherry picked from commit437978fe51
)
This commit is contained in:
parent
a53e5e0e2f
commit
001d00ac69
@ -279,7 +279,7 @@ static int journal_file_object_verify(JournalFile *f, uint64_t offset, Object *o
|
|||||||
if (le64toh(o->entry.items[i].object_offset) == 0 ||
|
if (le64toh(o->entry.items[i].object_offset) == 0 ||
|
||||||
!VALID64(le64toh(o->entry.items[i].object_offset))) {
|
!VALID64(le64toh(o->entry.items[i].object_offset))) {
|
||||||
error(offset,
|
error(offset,
|
||||||
"Invalid entry item (%"PRIu64"/%"PRIu64" offset: "OFSfmt,
|
"Invalid entry item (%"PRIu64"/%"PRIu64") offset: "OFSfmt,
|
||||||
i, journal_file_entry_n_items(o),
|
i, journal_file_entry_n_items(o),
|
||||||
le64toh(o->entry.items[i].object_offset));
|
le64toh(o->entry.items[i].object_offset));
|
||||||
return -EBADMSG;
|
return -EBADMSG;
|
||||||
|
Loading…
Reference in New Issue
Block a user