lib: fix missed pointer update

Function argument changed from thread * to thread ** without updating
the corresponding tracepoint.

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
This commit is contained in:
Quentin Young 2020-11-02 16:22:54 -05:00
parent 84fa466b68
commit b4d6e8559f

View File

@ -1233,9 +1233,9 @@ void thread_cancel(struct thread **thread)
master = (*thread)->master;
frrtrace(9, frr_libfrr, thread_cancel, master, thread->funcname,
thread->schedfrom, thread->schedfrom_line, NULL, thread->u.fd,
thread->u.val, thread->arg, thread->u.sands.tv_sec);
frrtrace(9, frr_libfrr, thread_cancel, master, (*thread)->funcname,
(*thread)->schedfrom, (*thread)->schedfrom_line, NULL, (*thread)->u.fd,
(*thread)->u.val, (*thread)->arg, (*thread)->u.sands.tv_sec);
assert(master->owner == pthread_self());