diff options
| -rw-r--r-- | tests/timer/timer_test.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/tests/timer/timer_test.c b/tests/timer/timer_test.c index 6184f667..4981fd52 100644 --- a/tests/timer/timer_test.c +++ b/tests/timer/timer_test.c @@ -95,6 +95,7 @@ static void main_timer_fired(void *data)  		v->timer.data = v;  		unsigned int seconds = (random() % 10) + 1;  		v->stop.tv_sec = v->start.tv_sec + seconds; +		v->stop.tv_usec = v->start.tv_usec;  		osmo_timer_schedule(&v->timer, seconds, 0);  		llist_add(&v->head, &timer_test_list);  	} | 
