summaryrefslogtreecommitdiffstats
path: root/c/src/exec/rtems/src/rtclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/rtems/src/rtclock.c')
-rw-r--r--c/src/exec/rtems/src/rtclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/rtems/src/rtclock.c b/c/src/exec/rtems/src/rtclock.c
index ea340ae5f4..f73401809c 100644
--- a/c/src/exec/rtems/src/rtclock.c
+++ b/c/src/exec/rtems/src/rtclock.c
@@ -62,7 +62,7 @@ rtems_status_code rtems_clock_get(
return RTEMS_SUCCESSFUL;
case RTEMS_CLOCK_GET_TICKS_SINCE_BOOT:
- *(rtems_interval *)time_buffer = _TOD_Ticks_since_boot;
+ *(rtems_interval *)time_buffer = _Watchdog_Ticks_since_boot;
return RTEMS_SUCCESSFUL;
case RTEMS_CLOCK_GET_TICKS_PER_SECOND: