fix incorrect allocation failure check in pthread_create
[musl] / src / thread / syscall_cp.c