Explorar el Código

[efi] Fix minor typos in efi_image.c

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown hace 11 años
padre
commit
e05dcf0e01
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3
    3
      src/image/efi_image.c

+ 3
- 3
src/image/efi_image.c Ver fichero

@@ -48,8 +48,8 @@ static EFI_GUID efi_loaded_image_protocol_guid =
48 48
  *
49 49
  * The caller must eventually free() the device path.
50 50
  */
51
-static EFI_DEVICE_PATH_PROTOCOL * efi_image_path ( struct image *image,
52
-						   EFI_DEVICE_PATH *parent ) {
51
+static EFI_DEVICE_PATH_PROTOCOL *
52
+efi_image_path ( struct image *image, EFI_DEVICE_PATH_PROTOCOL *parent ) {
53 53
 	EFI_DEVICE_PATH_PROTOCOL *path;
54 54
 	FILEPATH_DEVICE_PATH *filepath;
55 55
 	EFI_DEVICE_PATH_PROTOCOL *end;
@@ -204,7 +204,7 @@ static int efi_image_exec ( struct image *image ) {
204 204
 		( ( wcslen ( cmdline ) + 1 /* NUL */ ) * sizeof ( wchar_t ) );
205 205
 
206 206
 	/* Start the image */
207
-	if ( ( efirc = bs->StartImage ( handle, 0, NULL ) ) != 0 ) {
207
+	if ( ( efirc = bs->StartImage ( handle, NULL, NULL ) ) != 0 ) {
208 208
 		DBGC ( image, "EFIIMAGE %p returned with status %s\n",
209 209
 		       image, efi_strerror ( efirc ) );
210 210
 		rc = EFIRC_TO_RC ( efirc );

Loading…
Cancelar
Guardar