[image] Consistently use for_each_image() to iterate over images

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2023-03-06 16:55:54 +00:00
parent 523788ccda
commit e51e7bbad7
2 changed files with 2 additions and 2 deletions

View File

@@ -130,7 +130,7 @@ static struct image * efi_file_find ( const char *name ) {
struct image *image;
/* Find image */
list_for_each_entry ( image, &images, list ) {
for_each_image ( image ) {
if ( strcasecmp ( image->name, name ) == 0 )
return image;
}