diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-05-01 11:09:52 +0200 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2024-06-12 00:17:21 +0200 |
commit | 178a71d970b2c093e8a72bb34fc24654dab95bbe (patch) | |
tree | b4f6a661d3be0dcc6e9f227472b41fe43cc35475 /src/portable/portabled-image-bus.c | |
parent | shared/install: use FOREACH_ARRAY at one more place (diff) | |
download | systemd-178a71d970b2c093e8a72bb34fc24654dab95bbe.tar.xz systemd-178a71d970b2c093e8a72bb34fc24654dab95bbe.zip |
unit-file,portable: replace streq + basename with path_equal_filename
Diffstat (limited to '')
-rw-r--r-- | src/portable/portabled-image-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/portabled-image-bus.c b/src/portable/portabled-image-bus.c index 8db5574242..0ca04d3a0b 100644 --- a/src/portable/portabled-image-bus.c +++ b/src/portable/portabled-image-bus.c @@ -596,7 +596,7 @@ static int normalize_portable_changes( bool found = false; for (size_t j = 0; j < n_changes_attached; ++j) - if (streq(basename(changes_detached[i].path), basename(changes_attached[j].path))) { + if (path_equal_filename(changes_detached[i].path, changes_attached[j].path)) { found = true; break; } |