chain.c: Adjust hide_unhide() and remove mbr_area from main()
authorMichal Soltys <soltys@ziu.info>
Sun, 15 Aug 2010 20:06:11 +0000 (22:06 +0200)
committerMichal Soltys <soltys@ziu.info>
Sun, 15 Aug 2010 22:41:44 +0000 (00:41 +0200)
commit52733c085a945665ffd51b28c15ad0adca6e5e62
tree2093c61207e865257045991eab6a51729d6b2d4a
parentd9c1e7d5352cc9365c8be425ca87e04a79f46109
chain.c: Adjust hide_unhide() and remove mbr_area from main()

hide_unhide() is adjusted to use new iterators. It's also fully
self sufficient.

mbr_area is no longer needed in main().

Check for proper magic when loading bs/mbr is removed. There can be valid bootable
code without 0xaa55 magic (e.g. for testing purposes or unusual tasks).

Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/chain/chain.c