summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/clockgetres.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/clockgetres.c')
-rw-r--r--cpukit/posix/src/clockgetres.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/posix/src/clockgetres.c b/cpukit/posix/src/clockgetres.c
index 999e4bcb13..423759c8d8 100644
--- a/cpukit/posix/src/clockgetres.c
+++ b/cpukit/posix/src/clockgetres.c
@@ -30,9 +30,9 @@ int clock_getres(
{
if ( !res )
rtems_set_errno_and_return_minus_one( EINVAL );
-
+
switch ( clock_id ) {
-
+
/*
* All time in rtems is based on the same clock tick.
*/
@@ -46,10 +46,10 @@ int clock_getres(
/* _POSIX_Interval_to_timespec( _TOD_Microseconds_per_tick, res ); */
}
break;
-
+
default:
rtems_set_errno_and_return_minus_one( EINVAL );
-
+
}
return 0;
}