sd-boot: fix incompatible type

Fixes the following build error:
```
../src/boot/efi/vmm.c: In function ‘get_smbios_table’:
../src/boot/efi/vmm.c:217:24: error: incompatible types when returning type ‘_Bool’ but ‘const SmbiosHeader *’ was expected
  217 |                 return false;
      |                        ^~~~~
```
This commit is contained in:
Yu Watanabe
2023-03-12 19:49:16 +09:00
parent 9c34405241
commit 5654a4f9c5
+1 -1
View File
@@ -214,7 +214,7 @@ static const SmbiosHeader *get_smbios_table(uint8_t type, uint64_t *ret_size_lef
uint64_t size = 0;
const uint8_t *p = find_smbios_configuration_table(&size);
if (!p)
return false;
return NULL;
for (;;) {
if (size < sizeof(SmbiosHeader))