summaryrefslogtreecommitdiff
path: root/src/journal/journald-kmsg.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-26 14:20:45 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-26 14:20:45 +0100
commit1d35b2d6e25ba100c903f02c92c67389e67bb913 (patch)
treea64869507321fd9de4bb28551be0d246d0d63663 /src/journal/journald-kmsg.c
parentd8fc78b40fab1d1545b384eb0b8928b78c8828ff (diff)
parent32917e33882778cf2ec6dd54b1e1082266fb072e (diff)
Merge pull request #2424 from keszybz/journald-disk-usage
Journald disk usage
Diffstat (limited to 'src/journal/journald-kmsg.c')
-rw-r--r--src/journal/journald-kmsg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/journal/journald-kmsg.c b/src/journal/journald-kmsg.c
index e048e04716..1306ad6974 100644
--- a/src/journal/journald-kmsg.c
+++ b/src/journal/journald-kmsg.c
@@ -158,8 +158,10 @@ static void dev_kmsg_record(Server *s, const char *p, size_t l) {
/* Did we lose any? */
if (serial > *s->kernel_seqnum)
- server_driver_message(s, SD_MESSAGE_JOURNAL_MISSED, "Missed %"PRIu64" kernel messages",
- serial - *s->kernel_seqnum);
+ server_driver_message(s, SD_MESSAGE_JOURNAL_MISSED,
+ LOG_MESSAGE("Missed %"PRIu64" kernel messages",
+ serial - *s->kernel_seqnum),
+ NULL);
/* Make sure we never read this one again. Note that
* we always store the next message serial we expect