summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/rtems/rtems-bsd-timesupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/rtems/rtems-bsd-timesupport.c')
-rw-r--r--rtemsbsd/rtems/rtems-bsd-timesupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemsbsd/rtems/rtems-bsd-timesupport.c b/rtemsbsd/rtems/rtems-bsd-timesupport.c
index a7eedee1..ef14d1fa 100644
--- a/rtemsbsd/rtems/rtems-bsd-timesupport.c
+++ b/rtemsbsd/rtems/rtems-bsd-timesupport.c
@@ -50,5 +50,5 @@ tvtohz(struct timeval *tv)
ts.tv_sec = tv->tv_sec;
ts.tv_nsec = tv->tv_usec * 1000;
- (int) _Timespec_To_ticks( &ts );
+ return (int) _Timespec_To_ticks( &ts );
}