MINOR: signal: don't pass the signal number anymore as the wakeup reason
This is never used and would even be wrong since the reasons are ORed
so two signals would be turned into a third value, just like if any
other reason was used at the same time.
diff --git a/src/signal.c b/src/signal.c
index 4bee7d7..01b6121 100644
--- a/src/signal.c
+++ b/src/signal.c
@@ -89,7 +89,7 @@
if ((sh->flags & SIG_F_TYPE_FCT) && sh->handler)
((void (*)(struct sig_handler *))sh->handler)(sh);
else if ((sh->flags & SIG_F_TYPE_TASK) && sh->handler)
- task_wakeup(sh->handler, sh->arg | TASK_WOKEN_SIGNAL);
+ task_wakeup(sh->handler, TASK_WOKEN_SIGNAL);
}
desc->count = 0;
}