From e033569910aecb4d8fb437a622e542b8803834ec Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 24 May 2022 21:18:55 +0300 Subject: initial musings about exec --- common/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/timer.c') 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); -- cgit v1.3