[HVMLOADER] Fix SMBIOS table code. One of the string lengths is incorrectly computed.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-10-04 09:32:01 +01:00
1 parent fc7c643b21
commit 592a9a5792
1 file changed
+1 -1
+1 -1
View File
@@ -434,7 +434,7 @@ smbios_type_4_init(void *start, unsigned int cpu_number, char *cpu_manufacturer)
start += strlen(buf) + 1;
strcpy((char *)start, cpu_manufacturer);
start += strlen(buf) + 1;
start += strlen(cpu_manufacturer) + 1;
*((uint8_t *)start) = 0;
return start+1;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.