summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-04-07 17:24:25 +0000
committerjkim <jkim@FreeBSD.org>2009-04-07 17:24:25 +0000
commit28e8b5ba1fca1b9fef85242e84e24aef9c005b6e (patch)
treeea0caffbc3ad9729434168de352989066a4522de /sys/boot/i386
parentc17f84e6b8b085dcdcd160430c81d811606bd446 (diff)
downloadFreeBSD-src-28e8b5ba1fca1b9fef85242e84e24aef9c005b6e.zip
FreeBSD-src-28e8b5ba1fca1b9fef85242e84e24aef9c005b6e.tar.gz
Increase sprintf(3) buffer size, which I forgot from the previous commit.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/libi386/smbios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/smbios.c b/sys/boot/i386/libi386/smbios.c
index 7c42ab7..601421f 100644
--- a/sys/boot/i386/libi386/smbios.c
+++ b/sys/boot/i386/libi386/smbios.c
@@ -77,7 +77,7 @@ smbios_detect(void)
uint8_t *smbios, *dmi, *addr;
uint16_t i, length, count;
uint32_t paddr;
- char buf[4];
+ char buf[16];
/* locate and validate the SMBIOS */
smbios = smbios_sigsearch(PTOV(SMBIOS_START), SMBIOS_LENGTH);
OpenPOWER on IntegriCloud