diff options
author | Alp Toker <alp@nuanti.com> | 2014-02-24 10:40:15 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-02-24 10:40:15 +0000 |
commit | 8f2d3f0f90fe6abc8a65dddac473ca5e17cdd34d (patch) | |
tree | f8bb024567f4c213a4d1f9c32c5476bedebf0c35 /openmp/runtime/src/kmp_settings.c | |
parent | 4f8f890ade6f36beff56d1c93014bb41fde64cf5 (diff) | |
download | bcm5719-llvm-8f2d3f0f90fe6abc8a65dddac473ca5e17cdd34d.tar.gz bcm5719-llvm-8f2d3f0f90fe6abc8a65dddac473ca5e17cdd34d.zip |
Fix typos
llvm-svn: 202018
Diffstat (limited to 'openmp/runtime/src/kmp_settings.c')
-rw-r--r-- | openmp/runtime/src/kmp_settings.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openmp/runtime/src/kmp_settings.c b/openmp/runtime/src/kmp_settings.c index 3a0f6ce80b9..3e1fffcd76e 100644 --- a/openmp/runtime/src/kmp_settings.c +++ b/openmp/runtime/src/kmp_settings.c @@ -210,7 +210,7 @@ __kmp_convert_to_seconds( char const * data ) Here, multipliers are like __kmp_convert_to_seconds, but floating-point values are allowed, and the return value is in milliseconds. The default multiplier is milliseconds. Returns INT_MAX only if the value specified - matches "infinit*". Returns -1 if specified string is invalid. + matches "infinite*". Returns -1 if specified string is invalid. */ int __kmp_convert_to_milliseconds( char const * data ) @@ -220,7 +220,7 @@ __kmp_convert_to_milliseconds( char const * data ) double value; if (data == NULL) return (-1); - if ( __kmp_str_match( "infinit", -1, data)) return (INT_MAX); + if ( __kmp_str_match( "infinite", -1, data)) return (INT_MAX); value = (double) 0.0; mult = '\0'; nvalues = sscanf (data, "%lf%c%c", &value, &mult, &extra); @@ -442,7 +442,7 @@ __kmp_stg_parse_size( #endif }; // if } else { - // If integer overflow occured, * out == KMP_SIZE_T_MAX. Cut it to size_max silently. + // If integer overflow occurred, * out == KMP_SIZE_T_MAX. Cut it to size_max silently. if ( * out < size_min ) { * out = size_max; } @@ -493,7 +493,7 @@ __kmp_stg_parse_int( uint = max; }; // if } else { - // If overflow occured msg contains error message and uint is very big. Cut tmp it + // If overflow occurred msg contains error message and uint is very big. Cut tmp it // to INT_MAX. if ( uint < (unsigned int)min ) { uint = min; |