Fix definition of grub_efi_hard_drive_device_path. Take care that

existing code would work even if by some reason bogus definition is
	used by EFI implementations.
This commit is contained in:
Vladimir Serbinenko 2013-12-14 22:04:02 +01:00
parent f2c6ff15e5
commit 6dc3337774
4 changed files with 24 additions and 18 deletions

View file

@ -704,7 +704,7 @@ grub_efi_print_device_path (grub_efi_device_path_t *dp)
(unsigned) hd->partition_signature[5],
(unsigned) hd->partition_signature[6],
(unsigned) hd->partition_signature[7],
(unsigned) hd->mbr_type,
(unsigned) hd->partmap_type,
(unsigned) hd->signature_type);
}
break;