[efi] Fix minor typos in efi_image.c

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/13/head
Michael Brown 2013-03-19 23:16:09 +00:00
parent 747e9eb6f3
commit e05dcf0e01
1 changed files with 3 additions and 3 deletions

View File

@ -48,8 +48,8 @@ static EFI_GUID efi_loaded_image_protocol_guid =
* *
* The caller must eventually free() the device path. * The caller must eventually free() the device path.
*/ */
static EFI_DEVICE_PATH_PROTOCOL * efi_image_path ( struct image *image, static EFI_DEVICE_PATH_PROTOCOL *
EFI_DEVICE_PATH *parent ) { efi_image_path ( struct image *image, EFI_DEVICE_PATH_PROTOCOL *parent ) {
EFI_DEVICE_PATH_PROTOCOL *path; EFI_DEVICE_PATH_PROTOCOL *path;
FILEPATH_DEVICE_PATH *filepath; FILEPATH_DEVICE_PATH *filepath;
EFI_DEVICE_PATH_PROTOCOL *end; EFI_DEVICE_PATH_PROTOCOL *end;
@ -204,7 +204,7 @@ static int efi_image_exec ( struct image *image ) {
( ( wcslen ( cmdline ) + 1 /* NUL */ ) * sizeof ( wchar_t ) ); ( ( wcslen ( cmdline ) + 1 /* NUL */ ) * sizeof ( wchar_t ) );
/* Start the image */ /* 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", DBGC ( image, "EFIIMAGE %p returned with status %s\n",
image, efi_strerror ( efirc ) ); image, efi_strerror ( efirc ) );
rc = EFIRC_TO_RC ( efirc ); rc = EFIRC_TO_RC ( efirc );