* stage2/disk_io.c (next_partition): Mask out bsd partition sub
type when checking if last partition was a bsd partition. Reported by Heikki Vatiainen <hessu@cs.tut.fi>.
This commit is contained in:
parent
29aa359512
commit
f8e4561c47
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-12-09 Jochen Hoenicke <jochen@gnu.org>
|
||||
|
||||
* stage2/disk_io.c (next_partition): Mask out bsd partition sub
|
||||
type when checking if last partition was a bsd partition.
|
||||
Reported by Heikki Vatiainen <hessu@cs.tut.fi>.
|
||||
|
||||
2000-12-09 OKUJI Yoshinori <okuji@gnu.org>
|
||||
|
||||
From Leendert Meyer <leen.meyer@home.nl>:
|
||||
|
|
|
@ -574,7 +574,7 @@ next_partition (unsigned long drive, unsigned long dest,
|
|||
|
||||
/* If previous partition is a BSD partition or a PC slice which
|
||||
contains BSD partitions... */
|
||||
if ((*partition != 0xFFFFFF && IS_PC_SLICE_TYPE_BSD (*type))
|
||||
if ((*partition != 0xFFFFFF && IS_PC_SLICE_TYPE_BSD (*type & 0xff))
|
||||
|| ! (drive & 0x80))
|
||||
{
|
||||
if (*type == PC_SLICE_TYPE_NONE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue