(_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp
authorroland <roland>
Wed, 14 Jun 1995 07:44:21 +0000 (07:44 +0000)
committerroland <roland>
Wed, 14 Jun 1995 07:44:21 +0000 (07:44 +0000)
when appropriate, not LINK->resource.next->thread.prevp!!!

hurd/hurd/userlink.h

index d61e2e2..89fe3a0 100644 (file)
@@ -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;