Extend a local buffer to prevent an overflow of the XSDT address.

Submitted by:	Joerg Sonnenberger
Obtained from:	DragonflyBSD
MFC after:	1 day
This commit is contained in:
Nate Lawson 2005-04-16 17:38:24 +00:00
parent 5970af4cd4
commit 2626a56934

View File

@ -51,7 +51,7 @@ void
biosacpi_detect(void)
{
RSDP_DESCRIPTOR *rsdp;
char buf[16];
char buf[24];
int revision;
/* XXX check the BIOS datestamp */