Commit 9832fde2 authored by Jan Kiszka's avatar Jan Kiszka

cobalt/posix/sem: Fix invalid parameter in tracepoint

This not just traces garbage, it usually crashes the system one the
tracepoint is enabled.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent fd535e9b
Pipeline #4699 passed with stage
in 29 minutes and 5 seconds
......@@ -502,7 +502,7 @@ COBALT_SYSCALL(sem_broadcast_np, current,
int ret;
handle = cobalt_get_handle_from_user(&u_sem->handle);
trace_cobalt_psem_broadcast(u_sem->handle);
trace_cobalt_psem_broadcast(handle);
xnlock_get_irqsave(&nklock, s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment