pthread_mutex_unlock sets __owner_id to NOTRECOVERABLE_ID

Reported-by: Brent Baccala <[email protected]> 's Claude assistant
---
 sysdeps/mach/hurd/htl/pt-mutex.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/mach/hurd/htl/pt-mutex.h b/sysdeps/mach/hurd/htl/pt-mutex.h
index d26f527968..270a415a0c 100644
--- a/sysdeps/mach/hurd/htl/pt-mutex.h
+++ b/sysdeps/mach/hurd/htl/pt-mutex.h
@@ -45,7 +45,7 @@
   ret = cb (mtxp->__lock, ##__VA_ARGS__);   \
   if (ret == 0 || ret == EOWNERDEAD)   \
     {   \
-      if (mtxp->__owner_id == ENOTRECOVERABLE)   \
+      if (mtxp->__owner_id == NOTRECOVERABLE_ID)   \
         ret = ENOTRECOVERABLE;   \
       else   \
         {   \
-- 
2.51.0


Reply via email to