Fix missing return when LOADER_GPT_SUPPORT is defined, but LOADER_MBR_SUPPORT

is not.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2011-10-19 23:48:15 +00:00
parent 81fdf04870
commit 5cb5be7a93

View File

@ -776,9 +776,9 @@ disk_open(struct disk_devdesc *dev)
#ifdef LOADER_GPT_SUPPORT
rc = disk_opengpt(dev);
if (rc)
#endif
#ifdef LOADER_MBR_SUPPORT
if (rc)
rc = disk_openmbr(dev);
#endif