chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
socket: add option for SO_PASSEC
[elogind.git]
/
src
/
shutdownd.c
diff --git
a/src/shutdownd.c
b/src/shutdownd.c
index 46856b01ad616b8230f96193ce48ea26fc89bfd7..b4052d4933b94b241d5927fa41934e07abc30e68 100644
(file)
--- a/
src/shutdownd.c
+++ b/
src/shutdownd.c
@@
-29,11
+29,12
@@
#include <unistd.h>
#include <fcntl.h>
#include <unistd.h>
#include <fcntl.h>
+#include <systemd/sd-daemon.h>
+
#include "shutdownd.h"
#include "log.h"
#include "macro.h"
#include "util.h"
#include "shutdownd.h"
#include "log.h"
#include "macro.h"
#include "util.h"
-#include "sd-daemon.h"
#include "utmp-wtmp.h"
static int read_packet(int fd, struct shutdownd_command *_c) {
#include "utmp-wtmp.h"
static int read_packet(int fd, struct shutdownd_command *_c) {
@@
-188,7
+189,7
@@
int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
return EXIT_FAILURE;
}
- log_set_target(LOG_TARGET_
SYSLOG_OR_KMSG
);
+ log_set_target(LOG_TARGET_
AUTO
);
log_parse_environment();
log_open();
log_parse_environment();
log_open();