aboutsummaryrefslogtreecommitdiff
path: root/src/interface
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-03-06 16:55:54 +0000
committerMichael Brown <mcb30@ipxe.org>2023-03-06 16:56:37 +0000
commite51e7bbad7d043a6b369b0050ff4e1c0e62f3b5d (patch)
tree8e42e04c4160440bce736e1a1d8e1137b77ff6b2 /src/interface
parent523788ccdaff515194347b8e3f0c8de4dcbf221f (diff)
downloadipxe-e51e7bbad7d043a6b369b0050ff4e1c0e62f3b5d.zip
ipxe-e51e7bbad7d043a6b369b0050ff4e1c0e62f3b5d.tar.gz
ipxe-e51e7bbad7d043a6b369b0050ff4e1c0e62f3b5d.tar.bz2
[image] Consistently use for_each_image() to iterate over images
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface')
-rw-r--r--src/interface/efi/efi_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/efi/efi_file.c b/src/interface/efi/efi_file.c
index 7bcf8d5..f2b44fa 100644
--- a/src/interface/efi/efi_file.c
+++ b/src/interface/efi/efi_file.c
@@ -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;
}