diff options
author | robert <robert@FreeBSD.org> | 2003-07-17 22:44:41 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2003-07-17 22:44:41 +0000 |
commit | 5f9ce489aae8bf61982119b0522873aeb5ddfbbf (patch) | |
tree | 8cd4a6c70bfd447523384d8710553e6c47c48282 /lib/libpthread/thread/thr_yield.c | |
parent | a8381d2cc61629f3339ae3e98378fa121d79a558 (diff) | |
download | FreeBSD-src-5f9ce489aae8bf61982119b0522873aeb5ddfbbf.zip FreeBSD-src-5f9ce489aae8bf61982119b0522873aeb5ddfbbf.tar.gz |
Correct six return statements which returned zero instead of
an appropriate error number after a failure condition.
In particular, three of the changed statements return ESRCH for a
failed pfind(), and in also three places a non-zero return
from p_cansee() will be passed back,
Also noticed by: rwatson
Diffstat (limited to 'lib/libpthread/thread/thr_yield.c')
0 files changed, 0 insertions, 0 deletions