aboutsummaryrefslogtreecommitdiff
path: root/common/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/timer.c')
-rw-r--r--common/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/timer.c b/common/timer.c
index f36c90d..dadb88d 100644
--- a/common/timer.c
+++ b/common/timer.c
@@ -136,7 +136,7 @@ struct timer *find_timer(id_t cid)
stat_t remove_timer(struct timer *t)
{
if (!t)
- return;
+ return ERR_INVAL;
struct sp_node *n = &timer_node_container(t)->sp_n;
sp_remove(&sp_root(__cpu_timers()), n);