Booting from a logical partition failed with the "Requested logical
partition not found" error due to a wrong test for partition signature
in find_logical_partition().
Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
struct part_entry *found;
int i;
- if ( *(uint16_t *)(ptab + 0x1fe) != 0xaa55 )
+ if ( *(uint16_t *)(table + 0x1fe) != 0xaa55 )
return NULL; /* Signature missing */
/* We are assumed to already having enumerated all the data partitions