From 69b35e862fd5c72d77485165a6ae310fe77570fb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 7 Apr 2003 21:09:12 +0000 Subject: Update. 2003-04-07 Ulrich Drepper * pthread_detach.c (pthread_detach): Fix test for invalid TID. --- nptl/pthread_detach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nptl/pthread_detach.c') diff --git a/nptl/pthread_detach.c b/nptl/pthread_detach.c index ce13a2c..1f0c2fe 100644 --- a/nptl/pthread_detach.c +++ b/nptl/pthread_detach.c @@ -29,7 +29,7 @@ pthread_detach (th) struct pthread *pd = (struct pthread *) th; /* Make sure the descriptor is valid. */ - if (INVALID_TD_P (pd)) + if (INVALID_NOT_TERMINATED_TD_P (pd)) /* Not a valid thread handle. */ return ESRCH; -- cgit v1.1