svn commit: r190813 - head/sys/boot/i386/libi386
Jung-uk Kim
jkim at FreeBSD.org
Tue Apr 7 10:24:52 PDT 2009
Author: jkim
Date: Tue Apr 7 17:24:25 2009
New Revision: 190813
URL: http://svn.freebsd.org/changeset/base/190813
Log:
Increase sprintf(3) buffer size, which I forgot from the previous commit.
Modified:
head/sys/boot/i386/libi386/smbios.c
Modified: head/sys/boot/i386/libi386/smbios.c
==============================================================================
--- head/sys/boot/i386/libi386/smbios.c Tue Apr 7 17:16:09 2009 (r190812)
+++ head/sys/boot/i386/libi386/smbios.c Tue Apr 7 17:24:25 2009 (r190813)
@@ -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);
More information about the svn-src-head
mailing list