diff options
author | Franck Bui <fbui@suse.com> | 2019-06-25 15:54:44 +0200 |
---|---|---|
committer | Franck Bui <fbui@suse.com> | 2019-06-27 19:14:23 +0200 |
commit | 11e6d9714ebcae00cb42a0d0910881b2b6570742 (patch) | |
tree | 7e43ebff3da4ba947bf2ffec9ebf65797be0295f /src/journal-remote | |
parent | 554c76b6625f390f7d33bc1edf037540653db773 (diff) | |
download | systemd-11e6d9714ebcae00cb42a0d0910881b2b6570742.tar.gz |
journal-import: extract helpers for handling arrays of iovec and make them available for others
Diffstat (limited to 'src/journal-remote')
-rw-r--r-- | src/journal-remote/journal-remote-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote-parse.c b/src/journal-remote/journal-remote-parse.c index ebcae2fcaa..dc047b2d49 100644 --- a/src/journal-remote/journal-remote-parse.c +++ b/src/journal-remote/journal-remote-parse.c @@ -38,7 +38,7 @@ RemoteSource* source_new(int fd, bool passive_fd, char *name, Writer *writer) { if (!source) return NULL; - source->importer.fd = fd; + source->importer = JOURNAL_IMPORTER_MAKE(fd); source->importer.passive_fd = passive_fd; source->importer.name = name; |