mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 00:12:19 +03:00
[image] Consistently use for_each_image() to iterate over images
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user