Increase sprintf(3) buffer size, which I forgot from the previous commit.
This commit is contained in:
parent
c17f84e6b8
commit
28e8b5ba1f
@ -77,7 +77,7 @@ smbios_detect(void)
|
|||||||
uint8_t *smbios, *dmi, *addr;
|
uint8_t *smbios, *dmi, *addr;
|
||||||
uint16_t i, length, count;
|
uint16_t i, length, count;
|
||||||
uint32_t paddr;
|
uint32_t paddr;
|
||||||
char buf[4];
|
char buf[16];
|
||||||
|
|
||||||
/* locate and validate the SMBIOS */
|
/* locate and validate the SMBIOS */
|
||||||
smbios = smbios_sigsearch(PTOV(SMBIOS_START), SMBIOS_LENGTH);
|
smbios = smbios_sigsearch(PTOV(SMBIOS_START), SMBIOS_LENGTH);
|
||||||
|
Loading…
Reference in New Issue
Block a user