summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-06 14:36:07 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-11-11 10:08:06 +0100
commite6374731ff53d1ce90021f2c9a751361e134b6f9 (patch)
tree087fd273f39fe9e4f656a29c437bad4a6d99ecc1
parent0a57e1db23218393483a356c07868413a45caeeb (diff)
downloadrtems-libbsd-e6374731ff53d1ce90021f2c9a751361e134b6f9.tar.bz2
Fix tvtohz() return value
-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 );
}