Don't access drive_g->desc from boot_cdrom().
authorKevin O'Connor <kevin@koconnor.net>
Wed, 29 Dec 2010 18:26:01 +0000 (13:26 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 29 Dec 2010 18:26:01 +0000 (13:26 -0500)
commitecbcf77b9e89d983207f8ed5f57ac727577a7575
treea206f5a660da1a0645134b4aa380cd63a4e4bb47
parent551caa21eb8fa4f7cd2971e48999b60f3619b519
Don't access drive_g->desc from boot_cdrom().

The drive description is allocated with malloc_tmp() and is thus only
available during the POST phase - boot_cdrom() is called during the
boot phase.
src/boot.c