summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coretodget.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/coretodget.c')
-rw-r--r--cpukit/score/src/coretodget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/coretodget.c b/cpukit/score/src/coretodget.c
index 3e73a8daab..94517e5926 100644
--- a/cpukit/score/src/coretodget.c
+++ b/cpukit/score/src/coretodget.c
@@ -31,9 +31,9 @@ void _TOD_Get_as_timestamp(
/* assume time checked for NULL by caller */
- /* _TOD_Now is the native current time */
+ /* _TOD.now is the native current time */
_ISR_Disable( level );
- now = _TOD_Now;
+ now = _TOD.now;
nanoseconds = (*_Watchdog_Nanoseconds_since_tick_handler)();
_ISR_Enable( level );