From 2ed59d22bd0b2817fb8f7edbda3720dc90aa3f19 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 15 Jan 2004 16:09:58 +0000 Subject: [PATCH] Return ENOTSUP instead of -1. --- lib/libthr/thread/thr_suspend_np.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libthr/thread/thr_suspend_np.c b/lib/libthr/thread/thr_suspend_np.c index 7fa668ddfca..de957356c6e 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