mirror of
https://github.com/systemd/systemd.git
synced 2024-10-29 21:55:36 +03:00
journal-file: Fix return value in bump_entry_array()
This commit is contained in:
parent
43823dfefd
commit
0399902440
@ -2516,7 +2516,8 @@ static int bump_entry_array(
|
||||
|
||||
if (direction == DIRECTION_DOWN) {
|
||||
assert(o);
|
||||
return le64toh(o->entry_array.next_entry_array_offset);
|
||||
*ret = le64toh(o->entry_array.next_entry_array_offset);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Entry array chains are a singly linked list, so to find the previous array in the chain, we have
|
||||
|
Loading…
Reference in New Issue
Block a user