chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journal: implicitly add code location to all messages logged with the native interface
[elogind.git]
/
src
/
getty-generator.c
diff --git
a/src/getty-generator.c
b/src/getty-generator.c
index d4beffaeff8e8e040d10cf6196aa2ea46666407d..7fac43a0baf02bcd065ad4e59457c3887e17cf54 100644
(file)
--- a/
src/getty-generator.c
+++ b/
src/getty-generator.c
@@
-26,8
+26,9
@@
#include "log.h"
#include "util.h"
#include "unit-name.h"
#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;
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;
}
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();