From 5cb5be7a93a0a0c3a4e4dd5f41f0751fc16a0f3a Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Wed, 19 Oct 2011 23:48:15 +0000 Subject: [PATCH] Fix missing return when LOADER_GPT_SUPPORT is defined, but LOADER_MBR_SUPPORT is not. MFC after: 3 days --- sys/boot/common/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/common/disk.c b/sys/boot/common/disk.c index e1de3821d02a..8f753a89633c 100644 --- a/sys/boot/common/disk.c +++ b/sys/boot/common/disk.c @@ -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