Commit 1022a4b1 authored by Jan Kiszka's avatar Jan Kiszka Committed by Philippe Gerum
Browse files

cobalt/kernel: Null-terminate cobalt_print_sched_params output



Using trace_seq_printf requires to terminate the generated string with
0, or we print additional garbage.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent aeb7f49e
......@@ -129,6 +129,7 @@ DECLARE_EVENT_CLASS(syscall_exit,
(__p_ex)->sched_priority); \
break; \
} \
trace_seq_putc(p, '\0'); \
__ret; \
})
......
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