diff --git a/man/repart.d.xml b/man/repart.d.xml
index f3ed246b6e..217692d813 100644
--- a/man/repart.d.xml
+++ b/man/repart.d.xml
@@ -402,7 +402,7 @@
be empty. If this option is used, the size allocation algorithm is slightly altered: the partition is
created at least as big as required to fit the data in, i.e. the data size is an additional minimum
size value taken into consideration for the allocation algorithm, similar to and in addition to the
- SizeMin= value configured above.
+ SizeMinBytes= value configured above.
This option has no effect if the partition it is declared for already exists, i.e. existing
data is never overwritten. Note that the data is copied in before the partition table is updated,
diff --git a/src/repart/repart.c b/src/repart/repart.c
index 0417d4133a..e9cd0d8569 100644
--- a/src/repart/repart.c
+++ b/src/repart/repart.c
@@ -1116,7 +1116,7 @@ static uint64_t partition_min_size(const Context *context, const Partition *p) {
* exists the current size is what we really need. If it doesn't exist yet refuse to allocate less
* than 4K.
*
- * DEFAULT_MIN_SIZE is the default SizeMin= we configure if nothing else is specified. */
+ * DEFAULT_MIN_SIZE is the default SizeMinBytes= we configure if nothing else is specified. */
if (PARTITION_IS_FOREIGN(p)) {
/* Don't allow changing size of partitions not managed by us */
diff --git a/src/test/test-specifier.c b/src/test/test-specifier.c
index 850f961bfe..6c6c00f53f 100644
--- a/src/test/test-specifier.c
+++ b/src/test/test-specifier.c
@@ -156,7 +156,7 @@ TEST(specifiers_assorted) {
const sd_id128_t id = SD_ID128_ALLF;
const uint64_t llu = UINT64_MAX;
const Specifier table[] = {
- /* Used in src/partition/repart.c */
+ /* Used in src/repart/repart.c */
{ 'a', specifier_uuid, &id },
{ 'b', specifier_uint64, &llu },
{}