diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-05 11:31:52 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-05 11:31:52 +0300 |
commit | 704e4fe7a18a13a8651c0064ef3eda91027baffc (patch) | |
tree | 6408cd9de004e6609b4d479a7f23d9e44f3b8585 /src/journal/journald-server.h | |
parent | b2627f5ac42d86163a6b08f19a1aea472df999de (diff) |
journald: fix count of object meta fields
There are 12 object meta fields created in dispatch_message_real(), but
we only allocated space for 11. Fix this.
Fixes #866.
Diffstat (limited to 'src/journal/journald-server.h')
-rw-r--r-- | src/journal/journald-server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-server.h b/src/journal/journald-server.h index 559d100131..d954c5190d 100644 --- a/src/journal/journald-server.h +++ b/src/journal/journald-server.h @@ -144,7 +144,7 @@ typedef struct Server { #define N_IOVEC_META_FIELDS 20 #define N_IOVEC_KERNEL_FIELDS 64 #define N_IOVEC_UDEV_FIELDS 32 -#define N_IOVEC_OBJECT_FIELDS 11 +#define N_IOVEC_OBJECT_FIELDS 12 void server_dispatch_message(Server *s, struct iovec *iovec, unsigned n, unsigned m, const struct ucred *ucred, const struct timeval *tv, const char *label, size_t label_len, const char *unit_id, int priority, pid_t object_pid); void server_driver_message(Server *s, sd_id128_t message_id, const char *format, ...) _printf_(3,4); |