summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/clockgettime.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 10:01:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-16 10:01:03 +0000
commit874297f3bea7761cf05ae26540b7a9e21d4a6e1d (patch)
tree3f514864e20beb9becc81d77053abec90d281a1a /cpukit/posix/src/clockgettime.c
parentRemove stray white spaces. (diff)
downloadrtems-874297f3bea7761cf05ae26540b7a9e21d4a6e1d.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/posix/src/clockgettime.c')
-rw-r--r--cpukit/posix/src/clockgettime.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/posix/src/clockgettime.c b/cpukit/posix/src/clockgettime.c
index d2b382b54d..97a6f607e5 100644
--- a/cpukit/posix/src/clockgettime.c
+++ b/cpukit/posix/src/clockgettime.c
@@ -38,15 +38,15 @@ int clock_gettime(
switch ( clock_id ) {
case CLOCK_REALTIME:
-
+
_ISR_Disable( level );
seconds = _TOD_Seconds_since_epoch;
ticks = _TOD_Current.ticks;
_ISR_Enable( level );
-
+
tp->tv_sec = seconds + POSIX_TIME_SECONDS_1970_THROUGH_1988;
- tp->tv_nsec = ticks * _TOD_Microseconds_per_tick *
- TOD_NANOSECONDS_PER_MICROSECOND;
+ tp->tv_nsec = ticks * _TOD_Microseconds_per_tick *
+ TOD_NANOSECONDS_PER_MICROSECOND;
break;
#ifdef _POSIX_CPUTIME