aboutsummaryrefslogtreecommitdiff
path: root/support/tst-timespec.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/tst-timespec.c')
-rw-r--r--support/tst-timespec.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/support/tst-timespec.c b/support/tst-timespec.c
index aee191e..08c2c71 100644
--- a/support/tst-timespec.c
+++ b/support/tst-timespec.c
@@ -76,22 +76,22 @@ struct timespec_ns_test_case ns_cases[] = {
{.time = {.tv_sec = -1, .tv_nsec = 1},
.time_ns = -TIMESPEC_HZ + 1,
},
- /* Overflow bondary by 2 */
+ /* Overflow boundary by 2 */
{.time = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ,
.tv_nsec = TIME_T_MAX % TIMESPEC_HZ - 1},
.time_ns = TIME_T_MAX - 1,
},
- /* Overflow bondary */
+ /* Overflow boundary */
{.time = {.tv_sec = TIME_T_MAX / TIMESPEC_HZ,
.tv_nsec = TIME_T_MAX % TIMESPEC_HZ},
.time_ns = TIME_T_MAX,
},
- /* Underflow bondary by 1 */
+ /* Underflow boundary by 1 */
{.time = {.tv_sec = TIME_T_MIN / TIMESPEC_HZ,
.tv_nsec = TIME_T_MIN % TIMESPEC_HZ + 1},
.time_ns = TIME_T_MIN + 1,
},
- /* Underflow bondary */
+ /* Underflow boundary */
{.time = {.tv_sec = TIME_T_MIN / TIMESPEC_HZ,
.tv_nsec = TIME_T_MIN % TIMESPEC_HZ},
.time_ns = TIME_T_MIN,
@@ -153,19 +153,19 @@ struct timespec_norm_test_case norm_cases[] = {
{.time = {.tv_sec = -1, .tv_nsec = -TIMESPEC_HZ - 1},
.norm = {.tv_sec = -2, .tv_nsec = -1}
},
- /* Overflow bondary by 2 */
+ /* Overflow boundary by 2 */
{.time = {.tv_sec = TIME_T_MAX - 2, .tv_nsec = TIMESPEC_HZ + 1},
.norm = {.tv_sec = TIME_T_MAX - 1, 1},
},
- /* Overflow bondary by 1 */
+ /* Overflow boundary by 1 */
{.time = {.tv_sec = TIME_T_MAX - 1, .tv_nsec = TIMESPEC_HZ + 1},
.norm = {.tv_sec = TIME_T_MAX, .tv_nsec = 1},
},
- /* Underflow bondary by 2 */
+ /* Underflow boundary by 2 */
{.time = {.tv_sec = TIME_T_MIN + 2, .tv_nsec = -TIMESPEC_HZ - 1},
.norm = {.tv_sec = TIME_T_MIN + 1, -1},
},
- /* Underflow bondary by 1 */
+ /* Underflow boundary by 1 */
{.time = {.tv_sec = TIME_T_MIN + 1, .tv_nsec = -TIMESPEC_HZ - 1},
.norm = {.tv_sec = TIME_T_MIN, .tv_nsec = -1},
},