chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fstab-generator: ignore invalid swap priority
[elogind.git]
/
src
/
test
/
test-loopback.c
diff --git
a/src/test/test-loopback.c
b/src/test/test-loopback.c
index ab330ac84066e7ed488671af820e1249ce5d247a..c03bda43829ec91b1af66bb6bb48e5cc6e2a9c01 100644
(file)
--- a/
src/test/test-loopback.c
+++ b/
src/test/test-loopback.c
@@
-19,17
+19,18
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
#include <stdio.h>
-#include <fcntl.h>
#include "loopback-setup.h"
#include "loopback-setup.h"
-#include "
util
.h"
+#include "
log
.h"
int main(int argc, char* argv[]) {
int r;
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));
if ((r = loopback_setup()) < 0)
fprintf(stderr, "loopback: %s\n", strerror(-r));