Skip to content
Snippets Groups Projects
Commit 181eb532 authored by Cedric Roux's avatar Cedric Roux
Browse files

bugfix

parent bc107220
No related branches found
No related tags found
No related merge requests found
......@@ -376,7 +376,7 @@ void *timer_proc(void *arg) {
timer_t timerid;
struct itimerspec *timer= (struct itimerspec *)arg ; // the timer data structure
struct itimerspec *old_value;
struct itimerspec old_value;
#ifdef DEADLINE_SCHEDULER
......@@ -407,7 +407,7 @@ void *timer_proc(void *arg) {
signal(SIGALRM, timer_signal_handler);
LOG_I(RRH,"Timer has started!\n");
timer_settime (timerid, 0, timer, old_value);
timer_settime (timerid, 0, timer, &old_value);
while (!rrh_exit) {
sleep(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment