mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
journal: Fix missing parenthesis
(cherry picked from commit f63d1b0efa64fe716c2855a0410ac47ad67f7dec) (cherry picked from commit 437978fe51983d39cd2fc6437a1152761b7f6f6d)
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…
x
Reference in New Issue
Block a user