summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coretodcheck.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/coretodcheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/coretodcheck.c b/cpukit/score/src/coretodcheck.c
index b42435aa43..8c012c5070 100644
--- a/cpukit/score/src/coretodcheck.c
+++ b/cpukit/score/src/coretodcheck.c
@@ -51,7 +51,7 @@ Status_Control _TOD_Is_valid_new_time_of_day( const struct timespec *tod )
return STATUS_INVALID_NUMBER;
}
- if ( _Watchdog_Is_far_future_timespec( tod ) ) {
+ if ( tod->tv_sec > TOD_SECONDS_1970_THROUGH_2400 ) {
return STATUS_INVALID_NUMBER;
}