1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00

journal: driver messages can now contain object fields, account for that

In some cases we can now log about processes, hence we must keep room
for that.
This commit is contained in:
Lennart Poettering 2017-11-29 11:36:22 +01:00
parent 3235b4e70c
commit f643ae7171

View File

@ -879,7 +879,7 @@ void server_driver_message(Server *s, pid_t object_pid, const char *message_id,
assert(s);
assert(format);
m = N_IOVEC_META_FIELDS + 5 + N_IOVEC_PAYLOAD_FIELDS + client_context_extra_fields_n_iovec(s->my_context);
m = N_IOVEC_META_FIELDS + 5 + N_IOVEC_PAYLOAD_FIELDS + client_context_extra_fields_n_iovec(s->my_context) + N_IOVEC_OBJECT_FIELDS;
iovec = newa(struct iovec, m);
assert_cc(3 == LOG_FAC(LOG_DAEMON));