2005-07-20 Yoshinori K. Okuji <okuji@enbug.org>
* kern/partition.c (grub_partition_probe): Initialize PART to NULL. Otherwise, when no partition map is registered, this returns a garbage.
This commit is contained in:
parent
b28b81b256
commit
896f0afdb7
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-07-20 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
|
* kern/partition.c (grub_partition_probe): Initialize PART to
|
||||||
|
NULL. Otherwise, when no partition map is registered, this returns
|
||||||
|
a garbage.
|
||||||
|
|
||||||
2005-07-19 Yoshinori K. Okuji <okuji@enbug.org>
|
2005-07-19 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* partmap/apple.c (apple_partition_map_iterate): Check if POS
|
* partmap/apple.c (apple_partition_map_iterate): Check if POS
|
||||||
|
|
|
@ -55,7 +55,7 @@ grub_partition_map_iterate (int (*hook) (const grub_partition_map_t partmap))
|
||||||
grub_partition_t
|
grub_partition_t
|
||||||
grub_partition_probe (struct grub_disk *disk, const char *str)
|
grub_partition_probe (struct grub_disk *disk, const char *str)
|
||||||
{
|
{
|
||||||
grub_partition_t part;
|
grub_partition_t part = 0;
|
||||||
|
|
||||||
auto int part_map_probe (const grub_partition_map_t partmap);
|
auto int part_map_probe (const grub_partition_map_t partmap);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue