repart: Don't log partition number when populating filesystem

This might not be known yet so let's use the filesystem itself
instead.
This commit is contained in:
Daan De Meyer
2022-11-11 13:49:50 +01:00
parent 7c17515203
commit a7f1f7d8c1
+2 -2
View File
@@ -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;
}