With LOADER_MBR_SUPPORT defined and LOADER_GPT_SUPPORT undefined we would
never call disk_openmbr(). Submitted by: avg MFC after: 3 days
This commit is contained in:
parent
9838b8b0ee
commit
b65ede43fb
@ -776,10 +776,11 @@ disk_open(struct disk_devdesc *dev)
|
||||
|
||||
#ifdef LOADER_GPT_SUPPORT
|
||||
rc = disk_opengpt(dev);
|
||||
if (rc == 0)
|
||||
return (0);
|
||||
#endif
|
||||
#ifdef LOADER_MBR_SUPPORT
|
||||
if (rc)
|
||||
rc = disk_openmbr(dev);
|
||||
rc = disk_openmbr(dev);
|
||||
#endif
|
||||
|
||||
return (rc);
|
||||
|
Loading…
Reference in New Issue
Block a user