diff --git a/compiler-rt/lib/profile/InstrProfilingFile.c b/compiler-rt/lib/profile/InstrProfilingFile.c index b737baff405b..32762d14eef2 100644 --- a/compiler-rt/lib/profile/InstrProfilingFile.c +++ b/compiler-rt/lib/profile/InstrProfilingFile.c @@ -231,7 +231,7 @@ static void truncateCurrentFile(void) { /* Create the directory holding the file, if needed. */ if (strchr(Filename, DIR_SEPARATOR) #if defined(DIR_SEPARATOR_2) - || strchr(Filename, DIR_SEPERATOR_2) + || strchr(Filename, DIR_SEPARATOR_2) #endif ) { char *Copy = (char *)COMPILER_RT_ALLOCA(Length + 1);