diff options
Diffstat (limited to 'src/alarm.c')
-rw-r--r-- | src/alarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alarm.c b/src/alarm.c index 6aac4a3..a64c37a 100644 --- a/src/alarm.c +++ b/src/alarm.c @@ -83,7 +83,7 @@ void mod_alarm(struct alarm_list *alarm, unsigned long sc, unsigned long usc) list_del(&alarm->head); gettimeofday(&tv, NULL); alarm->tv.tv_sec = tv.tv_sec + sc; - alarm->tv.tv_usec = tv.tv_usec + usc; + alarm->tv.tv_usec = usc; __add_alarm(alarm); } |