search for: b790bd0

Displaying 1 result from an estimated 1 matches for "b790bd0".

Did you mean: 6790bd2
2008 Apr 24
1
[PATCH] chain.c32: fix booting from logical partitions
...ound" error due to a wrong test for partition signature in find_logical_partition(). Signed-off-by: Sergey Vlasov <vsu at altlinux.ru> --- com32/modules/chain.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/com32/modules/chain.c b/com32/modules/chain.c index b790bd0..ec92cd0 100644 --- a/com32/modules/chain.c +++ b/com32/modules/chain.c @@ -228,7 +228,7 @@ find_logical_partition(int whichpart, char *table, struct part_entry *self, struct part_entry *found; int i; - if ( *(uint16_t *)(ptab + 0x1fe) != 0xaa55 ) + if ( *(uint16_t *)(table + 0x1fe) != 0x...