chiark / gitweb /
journald: fix typo
[elogind.git] / src / getty-generator.c
index d4beffaeff8e8e040d10cf6196aa2ea46666407d..7fac43a0baf02bcd065ad4e59457c3887e17cf54 100644 (file)
@@ -26,8 +26,9 @@
 #include "log.h"
 #include "util.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;
@@ -102,7 +103,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();