summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-23 03:50:53 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-23 03:50:53 +0200
commite905f48fdc78fe3e4708aeb8515fc260eaf4eb6b (patch)
treedb4442bfd01361096b2cc5a75dee57aab471b0e7 /src
parent18975735984b1245bb4003ec287df002f7c4cf7f (diff)
readahead: avoid activating the journal by accident, log directly to kmsg
Diffstat (limited to 'src')
-rw-r--r--src/readahead/readahead-collect.c2
-rw-r--r--src/readahead/readahead-replay.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/readahead/readahead-collect.c b/src/readahead/readahead-collect.c
index 359b97bf04..1d56b11065 100644
--- a/src/readahead/readahead-collect.c
+++ b/src/readahead/readahead-collect.c
@@ -683,7 +683,7 @@ int main(int argc, char *argv[]) {
int r;
const char *root;
- log_set_target(LOG_TARGET_AUTO);
+ log_set_target(LOG_TARGET_SAFE);
log_parse_environment();
log_open();
diff --git a/src/readahead/readahead-replay.c b/src/readahead/readahead-replay.c
index 886e16f296..344dcd4041 100644
--- a/src/readahead/readahead-replay.c
+++ b/src/readahead/readahead-replay.c
@@ -360,7 +360,7 @@ int main(int argc, char*argv[]) {
int r;
const char *root;
- log_set_target(LOG_TARGET_AUTO);
+ log_set_target(LOG_TARGET_SAFE);
log_parse_environment();
log_open();