summaryrefslogtreecommitdiffstats
path: root/src/journal/test-journal-stream.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-27 11:27:58 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-31 14:30:23 +0200
commitd180c3499867bc7c70951c6158025b107d3b90dc (patch)
tree70dab4db15f3d0b8e28ce3acac9f328c8d38c667 /src/journal/test-journal-stream.c
parentjournal: remove unused args from journal_file_copy_entry() (diff)
downloadsystemd-d180c3499867bc7c70951c6158025b107d3b90dc.tar.xz
systemd-d180c3499867bc7c70951c6158025b107d3b90dc.zip
journal: allow boot_id to be passed to journal_append_entry()
In this commit, this is done only in testing code, i.e. there is no functional change apart from tests.
Diffstat (limited to 'src/journal/test-journal-stream.c')
-rw-r--r--src/journal/test-journal-stream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/test-journal-stream.c b/src/journal/test-journal-stream.c
index 05cb5cb988..052ea49959 100644
--- a/src/journal/test-journal-stream.c
+++ b/src/journal/test-journal-stream.c
@@ -109,12 +109,12 @@ int main(int argc, char *argv[]) {
iovec[1].iov_len = strlen(q);
if (i % 10 == 0)
- assert_se(journal_file_append_entry(three, &ts, iovec, 2, NULL, NULL, NULL) == 0);
+ assert_se(journal_file_append_entry(three, &ts, NULL, iovec, 2, NULL, NULL, NULL) == 0);
else {
if (i % 3 == 0)
- assert_se(journal_file_append_entry(two, &ts, iovec, 2, NULL, NULL, NULL) == 0);
+ assert_se(journal_file_append_entry(two, &ts, NULL, iovec, 2, NULL, NULL, NULL) == 0);
- assert_se(journal_file_append_entry(one, &ts, iovec, 2, NULL, NULL, NULL) == 0);
+ assert_se(journal_file_append_entry(one, &ts, NULL, iovec, 2, NULL, NULL, NULL) == 0);
}
free(p);