1
0
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:
Pawel Jakub Dawidek 2011-10-19 23:48:15 +00:00
parent 81fdf04870
commit 5cb5be7a93
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226554

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