summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/fileio/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/fileio/system.h')
-rw-r--r--testsuites/samples/fileio/system.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuites/samples/fileio/system.h b/testsuites/samples/fileio/system.h
index 13b6ecb8c7..3620eacdb2 100644
--- a/testsuites/samples/fileio/system.h
+++ b/testsuites/samples/fileio/system.h
@@ -106,8 +106,7 @@ rtems_task Init(
static inline uint32_t get_ticks_per_second( void )
{
- rtems_interval ticks_per_second;
- (void) rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND, &ticks_per_second ); return ticks_per_second;
+ return rtems_clock_get_ticks_per_second();
}