* grub-core/partmap/sun.c (sun_partition_map_iterate): Don't needlesly

allocate p.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-14 21:07:39 +02:00
parent 3c3b5040cd
commit d2ea455141
7 changed files with 450 additions and 961 deletions

View file

@ -52,4 +52,13 @@
#define GRUB_BOOT_MACHINE_KERNEL_ADDR 0x4200
#ifndef ASM_FILE
/* This is the blocklist used in the diskboot image. */
struct grub_boot_blocklist
{
grub_uint64_t start;
grub_uint32_t len;
} __attribute__ ((packed));
#endif
#endif /* ! BOOT_MACHINE_HEADER */