diff options
author | ru <ru@FreeBSD.org> | 2004-01-15 16:09:58 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-01-15 16:09:58 +0000 |
commit | 90d1bd0020b7a0db396a39fbb57a6ec4d061418e (patch) | |
tree | 8f3468e25685c7069e1b7672bb5715dd386979a6 /lib/libthr | |
parent | e28980cea75b9a85c3aa509fd56e276e965eff59 (diff) | |
download | FreeBSD-src-90d1bd0020b7a0db396a39fbb57a6ec4d061418e.zip FreeBSD-src-90d1bd0020b7a0db396a39fbb57a6ec4d061418e.tar.gz |
Return ENOTSUP instead of -1.
Diffstat (limited to 'lib/libthr')
-rw-r--r-- | lib/libthr/thread/thr_suspend_np.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libthr/thread/thr_suspend_np.c b/lib/libthr/thread/thr_suspend_np.c index 7fa668d..de95735 100644 --- a/lib/libthr/thread/thr_suspend_np.c +++ b/lib/libthr/thread/thr_suspend_np.c @@ -43,7 +43,7 @@ int _pthread_suspend_np(pthread_t thread) { /* XXXTHR */ - return (-1); + return (ENOTSUP); } void |