mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-25 11:37:56 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226554
@ -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…
Reference in New Issue
Block a user