chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: make setting the shutdown watchdog configuration via dbus work
[elogind.git]
/
src
/
test
/
test-loopback.c
diff --git
a/src/test/test-loopback.c
b/src/test/test-loopback.c
index ab330ac84066e7ed488671af820e1249ce5d247a..75fe053b63ddb4f8f9b9c5a094b4abe1c364680e 100644
(file)
--- a/
src/test/test-loopback.c
+++ b/
src/test/test-loopback.c
@@
-25,11
+25,15
@@
#include <fcntl.h>
#include "loopback-setup.h"
+#include "log.h"
#include "util.h"
int main(int argc, char* argv[]) {
int r;
+ log_open();
+ log_parse_environment();
+
if ((r = loopback_setup()) < 0)
fprintf(stderr, "loopback: %s\n", strerror(-r));