summaryrefslogtreecommitdiffstats
path: root/src/image
diff options
context:
space:
mode:
authorMichael Brown2013-03-20 00:16:09 +0100
committerMichael Brown2013-03-20 00:21:15 +0100
commite05dcf0e017f7dbd6f0859ce250cdbbbef16103e (patch)
treeda2167c99ce7dd9d2222ce9b7cdf43019e645f47 /src/image
parent[lkrnprefix] Allow relocation when no initrd is present (diff)
downloadipxe-e05dcf0e017f7dbd6f0859ce250cdbbbef16103e.tar.gz
ipxe-e05dcf0e017f7dbd6f0859ce250cdbbbef16103e.tar.xz
ipxe-e05dcf0e017f7dbd6f0859ce250cdbbbef16103e.zip
[efi] Fix minor typos in efi_image.c
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image')
-rw-r--r--src/image/efi_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/image/efi_image.c b/src/image/efi_image.c
index 4b04d36f..0368b82c 100644
--- a/src/image/efi_image.c
+++ b/src/image/efi_image.c
@@ -48,8 +48,8 @@ static EFI_GUID efi_loaded_image_protocol_guid =
*
* The caller must eventually free() the device path.
*/
-static EFI_DEVICE_PATH_PROTOCOL * efi_image_path ( struct image *image,
- EFI_DEVICE_PATH *parent ) {
+static EFI_DEVICE_PATH_PROTOCOL *
+efi_image_path ( struct image *image, EFI_DEVICE_PATH_PROTOCOL *parent ) {
EFI_DEVICE_PATH_PROTOCOL *path;
FILEPATH_DEVICE_PATH *filepath;
EFI_DEVICE_PATH_PROTOCOL *end;
@@ -204,7 +204,7 @@ static int efi_image_exec ( struct image *image ) {
( ( wcslen ( cmdline ) + 1 /* NUL */ ) * sizeof ( wchar_t ) );
/* Start the image */
- if ( ( efirc = bs->StartImage ( handle, 0, NULL ) ) != 0 ) {
+ if ( ( efirc = bs->StartImage ( handle, NULL, NULL ) ) != 0 ) {
DBGC ( image, "EFIIMAGE %p returned with status %s\n",
image, efi_strerror ( efirc ) );
rc = EFIRC_TO_RC ( efirc );