Fix missing return when LOADER_GPT_SUPPORT is defined, but LOADER_MBR_SUPPORT
is not. MFC after: 3 days
This commit is contained in:
parent
81fdf04870
commit
5cb5be7a93
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user