summaryrefslogtreecommitdiffstats
path: root/src/image
diff options
context:
space:
mode:
Diffstat (limited to 'src/image')
-rw-r--r--src/image/efi_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/image/efi_image.c b/src/image/efi_image.c
index 02ff8b2f..45a68e53 100644
--- a/src/image/efi_image.c
+++ b/src/image/efi_image.c
@@ -157,14 +157,14 @@ static int efi_image_exec ( struct image *image ) {
}
/* Install file I/O protocols */
- if ( ( rc = efi_file_install ( &snpdev->handle ) ) != 0 ) {
+ if ( ( rc = efi_file_install ( snpdev->handle ) ) != 0 ) {
DBGC ( image, "EFIIMAGE %p could not install file protocol: "
"%s\n", image, strerror ( rc ) );
goto err_file_install;
}
/* Install iPXE download protocol */
- if ( ( rc = efi_download_install ( &snpdev->handle ) ) != 0 ) {
+ if ( ( rc = efi_download_install ( snpdev->handle ) ) != 0 ) {
DBGC ( image, "EFIIMAGE %p could not install iPXE download "
"protocol: %s\n", image, strerror ( rc ) );
goto err_download_install;