summaryrefslogtreecommitdiff
path: root/src/test/test-log.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-09-24 14:27:21 +0200
committerSven Eden <yamakuzure@gmx.net>2017-11-22 08:22:23 +0100
commit68bb1246bf0dc56f61b6d655694ddd4df647167c (patch)
treed3ec4ecc37c903334f496981f12ead2973836c2f /src/test/test-log.c
parente0e02387f7dfc8ab4f415212264666476fc4a21f (diff)
fileio: return 0 from read_one_line_file on success
Fixup for f4b51a2d09. Suggested by Evgeny Vereshchagin.
Diffstat (limited to 'src/test/test-log.c')
-rw-r--r--src/test/test-log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test-log.c b/src/test/test-log.c
index ec1bc2a63..2417b3aef 100644
--- a/src/test/test-log.c
+++ b/src/test/test-log.c
@@ -22,8 +22,9 @@
#include "format-util.h"
#include "log.h"
-#include "process-util.h"
#include "util.h"
+/// Additional includes needed by elogind
+#include "process-util.h"
assert_cc(LOG_REALM_REMOVE_LEVEL(LOG_REALM_PLUS_LEVEL(LOG_REALM_SYSTEMD, LOG_FTP | LOG_DEBUG))
== LOG_REALM_SYSTEMD);