chiark / gitweb /
readahead: avoid activating the journal by accident, log directly to kmsg
authorLennart Poettering <lennart@poettering.net>
Wed, 23 May 2012 01:50:53 +0000 (03:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 May 2012 01:50:53 +0000 (03:50 +0200)
src/readahead/readahead-collect.c
src/readahead/readahead-replay.c

index 359b97b..1d56b11 100644 (file)
@@ -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();
 
index 886e16f..344dcd4 100644 (file)
@@ -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();