summaryrefslogtreecommitdiff
path: root/src/partition/makefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partition/makefs.c')
-rw-r--r--src/partition/makefs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/partition/makefs.c b/src/partition/makefs.c
index b2702d20f7..22ff83dc77 100644
--- a/src/partition/makefs.c
+++ b/src/partition/makefs.c
@@ -49,9 +49,7 @@ static int run(int argc, char *argv[]) {
struct stat st;
int r;
- log_set_target(LOG_TARGET_AUTO);
- log_parse_environment();
- log_open();
+ log_setup_service();
if (argc != 3) {
log_error("This program expects two arguments.");