aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nptl_db/td_ta_thr_iter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nptl_db/td_ta_thr_iter.c b/nptl_db/td_ta_thr_iter.c
index 37f32f6..6348a97 100644
--- a/nptl_db/td_ta_thr_iter.c
+++ b/nptl_db/td_ta_thr_iter.c
@@ -50,8 +50,7 @@ iterate_thread_list (const td_thragent_t *ta, td_thr_iter_f *callback,
while (list.next != head)
{
- psaddr_t addr = ((psaddr_t) list.next
- - offsetof (struct pthread, list));
+ psaddr_t addr = ((psaddr_t) list.next - offsetof (struct pthread, list));
int schedpolicy;
if (ps_pdread (ta->ph, &((struct pthread *) addr)->schedpolicy,