diff options
Diffstat (limited to 'cpukit/posix/src/alarm.c')
-rw-r--r-- | cpukit/posix/src/alarm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/alarm.c b/cpukit/posix/src/alarm.c index fcf8c1569a..bbfc96d31d 100644 --- a/cpukit/posix/src/alarm.c +++ b/cpukit/posix/src/alarm.c @@ -77,14 +77,14 @@ unsigned int alarm( now = cpu->Watchdog.ticks; remaining = (unsigned long) _Watchdog_Cancel( - &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ], + &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_TICKS ], the_watchdog, now ); if ( ticks != 0 ) { _Watchdog_Insert( - &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_MONOTONIC ], + &cpu->Watchdog.Header[ PER_CPU_WATCHDOG_TICKS ], the_watchdog, now + ticks ); |