From a7f1f7d8c1a6e7a369cb92e058f4af152cae9582 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 13 Oct 2022 14:02:39 +0200 Subject: [PATCH] repart: Don't log partition number when populating filesystem This might not be known yet so let's use the filesystem itself instead. --- src/partition/repart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/partition/repart.c b/src/partition/repart.c index c917d5ded5..7140f8a7fb 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -3404,7 +3404,7 @@ static int partition_populate_filesystem(Partition *p, const char *node, const S node = d->node; } - log_info("Populating partition %" PRIu64 " with files.", p->partno); + log_info("Populating %s filesystem with files.", p->format); /* We copy in a child process, since we have to mount the fs for that, and we don't want that fs to * appear in the host namespace. Hence we fork a child that has its own file system namespace and @@ -3441,7 +3441,7 @@ static int partition_populate_filesystem(Partition *p, const char *node, const S _exit(EXIT_SUCCESS); } - log_info("Successfully populated partition %" PRIu64 " with files.", p->partno); + log_info("Successfully populated %s filesystem with files.", p->format); return 0; } -- 2.25.1