1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

repart: Use streq_ptr() in one more place

This commit is contained in:
Daan De Meyer 2024-08-26 12:18:37 +02:00 committed by Luca Boccassi
parent 2bdf027de1
commit 3fcf2a2a39

View File

@ -5163,7 +5163,7 @@ static int finalize_extra_mkfs_options(const Partition *p, const char *root, cha
if (partition_needs_populate(p) && root && streq(p->format, "btrfs")) {
STRV_FOREACH(subvol, p->subvolumes) {
if (p->default_subvolume && streq(*subvol, p->default_subvolume))
if (streq_ptr(*subvol, p->default_subvolume))
continue;
r = strv_extend_many(&sv, "--subvol", *subvol);