about summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd/userlink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurd/userlink.h b/hurd/hurd/userlink.h
index d61e2e2a7e..89fe3a0d2c 100644
--- a/hurd/hurd/userlink.h
+++ b/hurd/hurd/userlink.h
@@ -85,7 +85,7 @@ _hurd_userlink_link (struct hurd_userlink **chainp,
 
   link->resource.next = *chainp;
   if (link->resource.next)
-    link->resource.next->thread.prevp = &link->resource.next;
+    link->resource.next->resource.prevp = &link->resource.next;
   link->resource.prevp = chainp;
   *chainp = link;