diff options
Diffstat (limited to 'src/journal/test-journal.c')
-rw-r--r-- | src/journal/test-journal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/test-journal.c b/src/journal/test-journal.c index ca3b4741f5..7b1583c889 100644 --- a/src/journal/test-journal.c +++ b/src/journal/test-journal.c @@ -41,7 +41,7 @@ int main(int argc, char *argv[]) { assert_se(mkdtemp(t)); assert_se(chdir(t) >= 0); - assert_se(journal_file_open("test.journal", O_RDWR|O_CREAT, 0666, NULL, NULL, &f) == 0); + assert_se(journal_file_open("test.journal", O_RDWR|O_CREAT, 0666, true, false, NULL, NULL, &f) == 0); dual_timestamp_get(&ts); @@ -109,8 +109,8 @@ int main(int argc, char *argv[]) { assert(journal_file_move_to_entry_by_seqnum(f, 10, DIRECTION_DOWN, &o, NULL) == 0); - journal_file_rotate(&f); - journal_file_rotate(&f); + journal_file_rotate(&f, true, true); + journal_file_rotate(&f, true, true); journal_file_close(f); |