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 0fe80ee..d00e281 100644 --- a/src/alarm.c +++ b/src/alarm.c @@ -70,7 +70,7 @@ void del_alarm(struct alarm_list *alarm) void mod_alarm(struct alarm_list *alarm, unsigned long sc, unsigned long usc) { - list_del_init(&alarm->head); + list_del(&alarm->head); set_alarm_expiration(alarm, sc, usc); add_alarm(alarm); } |