(_hurd_userlink_link): Properly set LINK->resource.next->resource.prevp when appropriate, not LINK->resource.next->thread.prevp!!!

This commit is contained in:
Roland McGrath 1995-06-14 07:44:21 +00:00
parent 57ba525e34
commit 5e75b23212

View 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;