chain/partiter: correct gpt header checkssyslinux-6.03-pre20
commitb7edabef26bab7a4f192e71976fdabb28d5f673c
authorMichal Soltys <soltys@ziu.info>
Sun, 29 Jun 2014 19:41:43 +0000 (29 21:41 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 27 Aug 2014 01:07:19 +0000 (26 18:07 -0700)
treec398badaae2c98e50400ea71ed1ce3088e034268
parentd31b445735d186cec01df71c6db2c32c103e9835
chain/partiter: correct gpt header checks

In gpt header, lba_cur and lba_alt alternate depending on whether we
read primary or backup copy.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/chain/partiter.c