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
57635fa52e
commit
6eda6b7b3a
@ -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