fix incorrect allocation failure check in pthread_create
authorRich Felker <dalias@aerifal.cx>
Tue, 27 Sep 2011 16:18:44 +0000 (12:18 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 27 Sep 2011 16:18:44 +0000 (12:18 -0400)
commit3f39c9b3130cd6c142d358159879b799370a6663
tree151401161ffe3ed0ab999b63a0481a21157e95f9
parent7e14ed1360c65b78c3ad1fc4fafea13e30067478
fix incorrect allocation failure check in pthread_create

mmap returns MAP_FAILED not 0 because some idiot thought the ability
to mmap the null pointer page would be a good idea...
src/thread/pthread_create.c