Fix typos
llvm-svn: 202018
diff --git a/openmp/runtime/src/kmp_str.c b/openmp/runtime/src/kmp_str.c
index c1f9e9b..9c0469f 100644
--- a/openmp/runtime/src/kmp_str.c
+++ b/openmp/runtime/src/kmp_str.c
@@ -226,7 +226,7 @@
break;
}; // if
- // Error occured, buffer is too small.
+ // Error occurred, buffer is too small.
if ( rc >= 0 ) {
// C99-conforming implementation of vsnprintf returns required buffer size.
size = buffer->used + rc + 1;
@@ -512,7 +512,7 @@
break;
}; // if
- // Error occured, buffer is too small.
+ // Error occurred, buffer is too small.
if ( rc >= 0 ) {
// C99-conforming implementation of vsnprintf returns required buffer size.
size = rc + 1;