pstore: use log_setup_service()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 22 Jul 2019 04:14:28 +0000 (13:14 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 22 Jul 2019 05:31:21 +0000 (14:31 +0900)
src/pstore/pstore.c

index 47301b1..4bb1293 100644 (file)
@@ -357,7 +357,7 @@ static int run(int argc, char *argv[]) {
         _cleanup_(pstore_entries_reset) PStoreList list = {};
         int r;
 
-        log_open();
+        log_setup_service();
 
         /* Ignore all parse errors */
         (void) parse_config();