Merge pull request #7442 from qlyoung/fix-thread-tracepoint-pointer

lib: fix missed pointer update
This commit is contained in:
Russ White 2020-11-03 07:39:12 -05:00 committed by GitHub
commit a6b628c27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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