]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/discover-image.c
strv: rename strv_endswith to endswith_strv and dedup ENDSWITH_SET
[thirdparty/systemd.git] / src / shared / discover-image.c
index e7e3a4d71c68c83754f8d885410ee5691c6e1649..ed89580d822b8909c1f7c5cc1113f23722355d06 100644 (file)
@@ -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;