summaryrefslogtreecommitdiff
path: root/src/arch/x86/bios/intelmp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/bios/intelmp.cc')
-rw-r--r--src/arch/x86/bios/intelmp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/bios/intelmp.cc b/src/arch/x86/bios/intelmp.cc
index 645c51b36..c907a63fe 100644
--- a/src/arch/x86/bios/intelmp.cc
+++ b/src/arch/x86/bios/intelmp.cc
@@ -92,7 +92,7 @@ writeOutString(PortProxy& proxy, Addr addr, string str, int length)
if (str.length() > length) {
memcpy(cleanedString, str.c_str(), length);
warn("Intel MP configuration table string \"%s\" "
- "will be truncated to \"%s\".\n", str, cleanedString);
+ "will be truncated to \"%s\".\n", str, (char *)&cleanedString);
} else {
memcpy(cleanedString, str.c_str(), str.length());
memset(cleanedString + str.length(), 0, length - str.length());