mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
args forgot Changelog entry in previous commit
This commit is contained in:
1 parent
2a54b55917
commit
4910684af3
2 files changed
+15
-7
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2009-03-04 Felix Zielcke <fzielcke@z-51.de>
|
||||||
|
|
||||||
|
* util/misc.c: Include <time.h>.
|
||||||
|
(grub_millisleep): New function.
|
||||||
|
|
||||||
2009-03-04 Bean <bean123ch@gmail.com>
|
2009-03-04 Bean <bean123ch@gmail.com>
|
||||||
|
|
||||||
* configure.ac: Only test -mcmodel=large option in x86_64-efi, also add
|
* configure.ac: Only test -mcmodel=large option in x86_64-efi, also add
|
||||||
|
|||||||
+10
-7
@@ -160,9 +160,10 @@ pc_partition_map_iterate (grub_disk_t disk,
|
|||||||
{
|
{
|
||||||
/* Check if the BSD label is within the DOS partition. */
|
/* Check if the BSD label is within the DOS partition. */
|
||||||
if (p.len <= GRUB_PC_PARTITION_BSD_LABEL_SECTOR)
|
if (p.len <= GRUB_PC_PARTITION_BSD_LABEL_SECTOR)
|
||||||
return grub_error (GRUB_ERR_BAD_PART_TABLE,
|
{
|
||||||
"no space for disk label");
|
grub_dprintf ("partition", "no space for disk label\n");
|
||||||
|
continue;
|
||||||
|
}
|
||||||
/* Read the BSD label. */
|
/* Read the BSD label. */
|
||||||
if (grub_disk_read (&raw,
|
if (grub_disk_read (&raw,
|
||||||
(p.start
|
(p.start
|
||||||
@@ -175,10 +176,12 @@ pc_partition_map_iterate (grub_disk_t disk,
|
|||||||
/* Check if it is valid. */
|
/* Check if it is valid. */
|
||||||
if (label.magic
|
if (label.magic
|
||||||
!= grub_cpu_to_le32 (GRUB_PC_PARTITION_BSD_LABEL_MAGIC))
|
!= grub_cpu_to_le32 (GRUB_PC_PARTITION_BSD_LABEL_MAGIC))
|
||||||
return grub_error (GRUB_ERR_BAD_PART_TABLE,
|
{
|
||||||
"invalid disk label magic 0x%x",
|
grub_dprintf ("partition",
|
||||||
label.magic);
|
"invalid disk label magic 0x%x on partition %d\n",
|
||||||
|
label.magic, p.index);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
for (pcdata.bsd_part = 0;
|
for (pcdata.bsd_part = 0;
|
||||||
pcdata.bsd_part < grub_cpu_to_le16 (label.num_partitions);
|
pcdata.bsd_part < grub_cpu_to_le16 (label.num_partitions);
|
||||||
pcdata.bsd_part++)
|
pcdata.bsd_part++)
|
||||||
|
|||||||
Reference in new issue
Block a user