if returning errno value directly from a syscall, we need to negate it.
authorRich Felker <dalias@aerifal.cx>
Sun, 20 Mar 2011 03:18:34 +0000 (23:18 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 20 Mar 2011 03:18:34 +0000 (23:18 -0400)
commitbe82e122bf37fdcd1766d1ed220f0300b30ab6a3
tree73c5cf53dcedb63a0e90d5741f7dc805bf5374ac
parentbae862ab18186aba5cd80f1443492f7730dff5f3
if returning errno value directly from a syscall, we need to negate it.
src/thread/__timedwait.c
src/thread/pthread_kill.c
src/time/clock_nanosleep.c