diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2020-11-02 16:22:54 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2020-11-02 16:22:54 -0500 |
| commit | b4d6e8559f3aa28a5c1f259922cf03063c26f513 (patch) | |
| tree | 00420700850050c07338052a63594f99bfa3e87d /lib/thread.c | |
| parent | 84fa466b68ddf5041f7a1d44c56f0188ba4461c4 (diff) | |
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>
Diffstat (limited to 'lib/thread.c')
| -rw-r--r-- | lib/thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/thread.c b/lib/thread.c index 8da5aa61dd..db53e267f8 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -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()); |
