journald: add a couple of static asserts checking logging constants
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2016 12:48:57 +0000 (13:48 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Jan 2016 13:43:24 +0000 (14:43 +0100)
commit4850d39ab72e7cb00a6e9c9aa4745c997674efa6
treed2fb7c6736289a78c3b7170ccdb659360745f3f5
parentd6f4302b66fb8847dd79cdf7ea35b9eeccac8aff
journald: add a couple of static asserts checking logging constants

Whenever we include a log level or facility in a journal string field, make sure the compiler checks for us that that's
actually the right thing to do.
src/journal/coredump.c
src/journal/journal-send.c
src/journal/journald-server.c