diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index c9140cb1bc6..c5f9c872480 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -478,7 +478,7 @@ StringRef sys::getHostCPUName() { return "generic"; } #elif defined(__linux__) && (defined(__ppc__) || defined(__powerpc__)) -SringRef sys::getHostCPUName() { +StringRef sys::getHostCPUName() { // Access to the Processor Version Register (PVR) on PowerPC is privileged, // and so we must use an operating-system interface to determine the current // processor type. On Linux, this is exposed through the /proc/cpuinfo file.