diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-27 11:27:58 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-31 14:30:23 +0200 |
commit | d180c3499867bc7c70951c6158025b107d3b90dc (patch) | |
tree | 70dab4db15f3d0b8e28ce3acac9f328c8d38c667 /src/journal-remote | |
parent | journal: remove unused args from journal_file_copy_entry() (diff) | |
download | systemd-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-remote')
-rw-r--r-- | src/journal-remote/journal-remote-write.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote-write.c b/src/journal-remote/journal-remote-write.c index 494ee71e95..949fdca372 100644 --- a/src/journal-remote/journal-remote-write.c +++ b/src/journal-remote/journal-remote-write.c @@ -92,7 +92,8 @@ int writer_write(Writer *w, return r; } - r = journal_file_append_entry(w->journal, ts, iovw->iovec, iovw->count, + r = journal_file_append_entry(w->journal, ts, NULL, + iovw->iovec, iovw->count, &w->seqnum, NULL, NULL); if (r >= 0) { if (w->server) @@ -109,7 +110,8 @@ int writer_write(Writer *w, log_debug("%s: Successfully rotated journal", w->journal->path); log_debug("Retrying write."); - r = journal_file_append_entry(w->journal, ts, iovw->iovec, iovw->count, + r = journal_file_append_entry(w->journal, ts, NULL, + iovw->iovec, iovw->count, &w->seqnum, NULL, NULL); if (r < 0) return r; |