[rtems commit] timecounter: Merge FreeBSD change r303384
Sebastian Huber
sebh at rtems.org
Thu Oct 12 05:08:49 UTC 2017
Module: rtems
Branch: master
Commit: 464fd5dae39f01568cb3ad5d1fd6a4f35fbe10ab
Changeset: http://git.rtems.org/rtems/commit/?id=464fd5dae39f01568cb3ad5d1fd6a4f35fbe10ab
Author: Konstantin Belousov <kib at FreeBSD.org>
Date: Wed Jul 27 11:33:33 2016 +0000
timecounter: Merge FreeBSD change r303384
Style.
Sponsored by: The FreeBSD Foundation
MFC after: 1 month
X-Differential revision: https://reviews.freebsd.org/D7302
Update #3175.
---
cpukit/score/src/kern_tc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 20a3fb4..c1c5821 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -274,7 +274,7 @@ sysctl_kern_timecounter_get(SYSCTL_HANDLER_ARGS)
struct timecounter *tc = arg1;
ncount = tc->tc_get_timecount(tc);
- return sysctl_handle_int(oidp, &ncount, 0, req);
+ return (sysctl_handle_int(oidp, &ncount, 0, req));
}
static int
@@ -284,7 +284,7 @@ sysctl_kern_timecounter_freq(SYSCTL_HANDLER_ARGS)
struct timecounter *tc = arg1;
freq = tc->tc_frequency;
- return sysctl_handle_64(oidp, &freq, 0, req);
+ return (sysctl_handle_64(oidp, &freq, 0, req));
}
#endif /* __rtems__ */
More information about the vc
mailing list