]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal-file: always generate the same error when encountering corrupted files
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Apr 2016 09:37:22 +0000 (11:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Apr 2016 10:00:03 +0000 (12:00 +0200)
commitbd30fdf213c830002aaf48a0d840c011f739ce8f
treeba7ee4444bf41cac6db5876d2ec1c4be608cbd25
parentd00f1d57cc326231e7003340056f4fbcf056674c
journal-file: always generate the same error when encountering corrupted files

Let's make sure EBADMSG is the one error we throw when we encounter corrupted
data, so that we can neatly test for it.
src/journal/journal-file.c