diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-01-04 09:45:54 +0100 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-01-04 09:51:57 +0100 |
commit | 2e6f012bf046b28bfb1ff170e5316a434274bfd8 (patch) | |
tree | 65204aac4ed1afb6b356cb346e2fe199759ce04e /src/shared/discover-image.c | |
parent | string-util: move startswith_strv to strv (diff) | |
download | systemd-2e6f012bf046b28bfb1ff170e5316a434274bfd8.tar.xz systemd-2e6f012bf046b28bfb1ff170e5316a434274bfd8.zip |
strv: rename strv_endswith to endswith_strv and dedup ENDSWITH_SET
Diffstat (limited to 'src/shared/discover-image.c')
-rw-r--r-- | src/shared/discover-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/discover-image.c b/src/shared/discover-image.c index e7e3a4d71c..ed89580d82 100644 --- a/src/shared/discover-image.c +++ b/src/shared/discover-image.c @@ -233,7 +233,7 @@ static int extract_image_basename( return r; if (format_suffixes) { - char *e = strv_endswith(name, format_suffixes); + char *e = endswith_strv(name, format_suffixes); if (!e) /* Format suffix is required */ return -EINVAL; |