From nobody Sat Feb 18 02:31:26 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PJXk65L7Hz3s9JD; Sat, 18 Feb 2023 02:31:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PJXk64Ttrz3pZv; Sat, 18 Feb 2023 02:31:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676687486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VTrxk+M/L++LV880HdQgXY9Fp32OINtx1hLoep3phQc=; b=mnhJoZw/j834IYGczAbjIiUR3zOlm+KpqqL8iZwDqDIR9ir4BpW5cZKl35tz7ROeEEnvEA tK4LyI4NN7HF5kAkH8wHgqXYl69Mh4lIz2x94p5Fz8+eYHyEWI0ZhNu+28tP/oRC+KjOvH rTVZRg6eMlYDFWp8rXP+c4umANl1Y51wI+xKZHIM+2jXM39MOC1JcJTMccBv4E0qhbOcQo C/Zq8/4oXGaQ9faYQUYVBpsewLbEMfx8bZvDbL3jj/3TwgZryEa0TOQRxbmr7fwo3xCXZ7 Ys14rwFg86SMt1Q9ckKoX74xutEiCKZJYxG+NYgScr2yKgKXtJznQZzYya20Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676687486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VTrxk+M/L++LV880HdQgXY9Fp32OINtx1hLoep3phQc=; b=Xy7D4nItQDuX1cUhEtWT33NvLv65uB6slp138XwnQif4/X/lJ8Lwzv7Wjepxs/nbhE+Hbw tMfXPlRYyxUI1wjIPwJHaaVtaaNOpKxFv7FNqUOxlRPUoFuONqEYkdUSRxF5OpwWK901La Icz6YtSDT3AAh7lkarCuxp7IutL2HnGVGl+gMX6yds8TptZuESF/ekvejG3EgVoFoXRlfQ O1for20OBhbVOBjpoI9H06EoGBe6PMAg4AutKLF53+c2fwFeviEBO8P6jVCTrzA9g5Ubn6 X9TI/7BePzTDbEaqMG+zvwUM7pjm3XIRMU1xxl3kNe4z8h8r8oZa0NoDmW2+zQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676687486; a=rsa-sha256; cv=none; b=YMovsHNh4Tz9fyWsJRgaHagWGWeEmhIuVYU44V4e1EhjIYrtpW7dvK0gfIRwz+UsuZ6iSC qqFGxNshiuvkmszERZdPQmWAaZLuE06fV9z4H2Hpb7TNHwrH1f7k/DzT1DcOoYa6GCleHa AgMVWyDvtRhPvaGYjD0BCNKz5oFoxULfliR7efIxjliFnRGa+gEg25TsWrv1IkmfnfeFyP Ftx7L1qhwKSqt7zccmrFEua0aazb0i+0vnFwsrG4ISHjwLLJ6OOAYLMXRgjD0w7nMfJTVq dHwuIDjttoSrOAVdFcbMAzkirQiSUZdNBDrHAcF3CnlhYb9XxePooHN3qd7H2g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PJXk63WbJz15SQ; Sat, 18 Feb 2023 02:31:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31I2VQBD062491; Sat, 18 Feb 2023 02:31:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31I2VQHb062490; Sat, 18 Feb 2023 02:31:26 GMT (envelope-from git) Date: Sat, 18 Feb 2023 02:31:26 GMT Message-Id: <202302180231.31I2VQHb062490@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Allan Jude Subject: git: df91d8167d97 - main - mutex(9): correct man page, mtx_trylock_spin returns int not void List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: allanjude X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: df91d8167d97fcddc5831af923729d000c7f5b45 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by allanjude: URL: https://cgit.FreeBSD.org/src/commit/?id=df91d8167d97fcddc5831af923729d000c7f5b45 commit df91d8167d97fcddc5831af923729d000c7f5b45 Author: Allan Jude AuthorDate: 2022-05-22 00:13:16 +0000 Commit: Allan Jude CommitDate: 2023-02-18 02:30:18 +0000 mutex(9): correct man page, mtx_trylock_spin returns int not void Reviewed by: kib, pauamma, debdrup Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D35283 --- share/man/man9/mutex.9 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9 index 43d523a56c98..cb207ff4596a 100644 --- a/share/man/man9/mutex.9 +++ b/share/man/man9/mutex.9 @@ -28,7 +28,7 @@ .\" from BSDI $Id: mutex.4,v 1.1.2.3 1998/04/27 22:53:13 ewv Exp $ .\" $FreeBSD$ .\" -.Dd May 24, 2017 +.Dd February 17, 2023 .Dt MUTEX 9 .Os .Sh NAME @@ -74,7 +74,7 @@ .Fn mtx_trylock "struct mtx *mutex" .Ft int .Fn mtx_trylock_flags "struct mtx *mutex" "int flags" -.Ft void +.Ft int .Fn mtx_trylock_spin "struct mtx *mutex" .Ft int .Fn mtx_trylock_spin_flags "struct mtx *mutex" "int flags"