summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_str.c
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/kmp_str.c')
-rw-r--r--openmp/runtime/src/kmp_str.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/kmp_str.c b/openmp/runtime/src/kmp_str.c
index c1f9e9b6406..9c0469fd19d 100644
--- a/openmp/runtime/src/kmp_str.c
+++ b/openmp/runtime/src/kmp_str.c
@@ -226,7 +226,7 @@ __kmp_str_buf_vprint(
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 @@ __kmp_str_format( // Allocated string.
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;
OpenPOWER on IntegriCloud