utils/isohybrid.c: Write GPT backup to the very end of the image
commit46abb1f5a685191e0ca11dba5b8ba5e3811b6dae
authorThomas Schmitt <scdbackup@gmx.net>
Sun, 22 Jun 2014 20:24:20 +0000 (22 22:24 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 24 Jun 2014 02:48:57 +0000 (23 19:48 -0700)
tree738b10f95c557b92053be4f2bb4fd19183b6ff94
parenta9343ca8943ae2089d46f74ce521946fb6f9f56d
utils/isohybrid.c: Write GPT backup to the very end of the image

The GPT backup header block should start 512 bytes before the end of the
image file (resp. end of the disk device). This block and the backup GPT
array were wrongly written 512 bytes too early.

This change brings the backup GPT at its correct position.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
utils/isohybrid.c