diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-08-26 12:18:37 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2024-08-26 17:55:29 +0200 |
commit | 3fcf2a2a39b128d530a32604b47b4707fc18ca7a (patch) | |
tree | 6ee0f62f27c33ac5494cd51d9cd9a576866801ef /src/partition/repart.c | |
parent | man: document "web" session type (diff) | |
download | systemd-3fcf2a2a39b128d530a32604b47b4707fc18ca7a.tar.xz systemd-3fcf2a2a39b128d530a32604b47b4707fc18ca7a.zip |
repart: Use streq_ptr() in one more place
Diffstat (limited to 'src/partition/repart.c')
-rw-r--r-- | src/partition/repart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partition/repart.c b/src/partition/repart.c index 309c2d51c7..bca9f28372 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -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); |