summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/posix/src/clockgettime.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/posix/src/clockgettime.c b/cpukit/posix/src/clockgettime.c
index 83a35d769a..b3adbc4713 100644
--- a/cpukit/posix/src/clockgettime.c
+++ b/cpukit/posix/src/clockgettime.c
@@ -43,7 +43,6 @@ int clock_gettime(
#ifdef CLOCK_MONOTONIC
if ( clock_id == CLOCK_MONOTONIC ) {
_TOD_Get_zero_based_uptime_as_timespec( tp );
- --tp->tv_sec;
return 0;
}
#endif
@@ -51,7 +50,6 @@ int clock_gettime(
#ifdef _POSIX_CPUTIME
if ( clock_id == CLOCK_PROCESS_CPUTIME_ID ) {
_TOD_Get_zero_based_uptime_as_timespec( tp );
- --tp->tv_sec;
return 0;
}
#endif