chain.c32: error out on missing boot sector signature
authorH. Peter Anvin <hpa@zytor.com>
Thu, 31 Jul 2008 02:22:07 +0000 (19:22 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 31 Jul 2008 02:22:07 +0000 (19:22 -0700)
commit2fde5ad3bb06c1d3bd0f187c0055cbcd2907fa9e
tree6d1f77ef42a34803f1b86d398c8174f443781c80
parenta8641f9842da20ad9c80ad28db8c10cdaaddfd55
chain.c32: error out on missing boot sector signature

If we're booting a disk or partition, then error out if the loaded
sector doesn't have a boot sector signature, rather than the
otherwise-inevitable crash.

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