+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>
* configure.ac: Only test -mcmodel=large option in x86_64-efi, also add
{
/* Check if the BSD label is within the DOS partition. */
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. */
if (grub_disk_read (&raw,
(p.start
/* Check if it is valid. */
if (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",
- label.magic);
-
+ {
+ grub_dprintf ("partition",
+ "invalid disk label magic 0x%x on partition %d\n",
+ label.magic, p.index);
+ continue;
+ }
for (pcdata.bsd_part = 0;
pcdata.bsd_part < grub_cpu_to_le16 (label.num_partitions);
pcdata.bsd_part++)