chiark / gitweb /
split selinux label operations out of cgroup-util, socket-util
[elogind.git] / src / getty-generator.c
index 6b5b254e6abe51198a46a4b5ecb864045625cd4d..dc979e9e8e36421375090613c59982980d1da956 100644 (file)
 
 #include "log.h"
 #include "util.h"
+#include "mkdir.h"
 #include "unit-name.h"
 #include "virt.h"
 
-const char *arg_dest = "/tmp";
+static const char *arg_dest = "/tmp";
 
 static int add_symlink(const char *fservice, const char *tservice) {
         char *from = NULL, *to = NULL;
@@ -103,7 +104,7 @@ int main(int argc, char *argv[]) {
                 return EXIT_FAILURE;
         }
 
-        log_set_target(LOG_TARGET_SYSLOG_OR_KMSG);
+        log_set_target(LOG_TARGET_AUTO);
         log_parse_environment();
         log_open();