From patchwork Mon Feb 10 01:05:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 37840 Received: (qmail 114099 invoked by alias); 10 Feb 2020 01:13:41 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 114083 invoked by uid 89); 10 Feb 2020 01:13:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd,commited 06/10] htl: Make sem_open return ENOSYS Date: Mon, 10 Feb 2020 02:05:04 +0100 Message-Id: <20200210010508.428251-6-samuel.thibault@ens-lyon.org> In-Reply-To: <20200210010508.428251-1-samuel.thibault@ens-lyon.org> References: <20200210010508.428251-1-samuel.thibault@ens-lyon.org> MIME-Version: 1.0 instead of EOPNOTSUPP, which is for sockets. --- sysdeps/htl/sem-open.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/htl/sem-open.c b/sysdeps/htl/sem-open.c index 28483ef6a5..682f0e1a88 100644 --- a/sysdeps/htl/sem-open.c +++ b/sysdeps/htl/sem-open.c @@ -24,7 +24,7 @@ sem_t * __sem_open (const char *name, int open_flags, ...) { - errno = EOPNOTSUPP; + errno = ENOSYS; return SEM_FAILED; }