From nobody Sun Nov 08 10:05:12 2026 X-Original-To: dev-commits-src-all@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 4jMpSS3Wvnz6xxwd for ; Sun, 08 Nov 2026 10:05:12 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jMpSS1zktz4WX6 for ; Sun, 08 Nov 2026 10:05:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794132312; 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=xmahAsosjY7+h8iAuNH7nvaOrdMFw62m9kKtrqatAyc=; b=BhPK3RrisVqs5rxZCHXfaEvRVWnUU9TBQoO8jgMLzQjkeoN1/gqKiBH5LmQZCYeOTH1oNv B+CbYrhz2ZjP8n+Libo+6oCzUbct2Htb2oXRj9/71XIybvVPDP2IMoBi/eDPgZF4/qA82A 2xIuK1NLDqurIEvyYXbyKje2A5BlGADsXnIv5n+c4yc69W2bFvplcQwpVv2KgBy5Q1T0nt uaIuCUMddFzxs5gixuyy5HOFiVhGhI9qaRrjMqin9moKGlS3PZQbNrD6V8bZiYPbuZv1OY Al+NVJDtCh43SwDeIXsdDKYrJEk5JRJRIyoXMEn8fysrPgzSpD1mnYFL3ivVeQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1794132312; b=dnAAVVrEI35UbXNfY01j3R5Rf2+QhqMdVusGRuhkRyjU3YSEAeW2VArU223OcQmRAOJmj9 5Mw6PSqSMPhhLCfL5xgeO/qLYokJEPfnOWIG1HFUa7catrt9fn/780Jwp/FSn5MF3bZDEN /MAJ+R95WIo/3pY/xiVuxV9uv/7Ah9uz396qzSGpxkjsspBJ3KF7mtYT/IPGw0pnqy0pHU 4NoWW1tRnBs5QOkEwbRarHT/CQ7q+qIs9A3J46WuhzhvfRbFYOiSkGvLB95jah6exv+t94 yj+Cb/QFVfYsETS6S0U8dT2xUPPtUYOHuLhb/uhkdFUAIy8lFGRAQjwNITWZVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1794132312; 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=xmahAsosjY7+h8iAuNH7nvaOrdMFw62m9kKtrqatAyc=; b=Gx+tKKwuTZHmDVqACsHpgSXd+7z4X47Juqcjrt+pvMIBjBdgXd/GxT+iYRtKH8VShcBVwN Lq8qfJkNdUEtPhfTfs/oCjjZWyIlyR4+ID68dSbFLIn+O5utyhuyXHZNewEK0fB5iFBCXa 6VVqOEXDdtIyFVFfD9zVKN45TBV3+q7ZLcAWjo74D/QJghcLYk+nBIIqhV5lTFKX5Lk9QL 5aNOIfbqakAlJ51XyDSL0l/o2j0zhtmnb4ZH+boAbAvrNeviUhrERRPMI430SemK5CkLO1 JJKsQ0vYVExbDP1WvsRu/VT0HLLJqd6L9fC3OmMxl/DVM7LsjV3u8AQyG31qeQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jMpSS1Lr9z13fN for ; Sun, 08 Nov 2026 10:05:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id dd2c by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 08 Nov 2026 10:05:12 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Wolfram Schneider Subject: git: fa67270fe217 - main - manpages: fix reference to errno(2) List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wosch X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fa67270fe217a6ec70c525fea72003816ca5bacf Auto-Submitted: auto-generated Date: Sun, 08 Nov 2026 10:05:12 +0000 Message-Id: <6af04958.dd2c.15c8762c@gitrepo.freebsd.org> The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=fa67270fe217a6ec70c525fea72003816ca5bacf commit fa67270fe217a6ec70c525fea72003816ca5bacf Author: Wolfram Schneider AuthorDate: 2026-11-08 10:04:29 +0000 Commit: Wolfram Schneider CommitDate: 2026-11-08 10:04:29 +0000 manpages: fix reference to errno(2) On FreeBSD, the errno man page is in section 2, not section 3. --- lib/libc/gen/uexterr_gettext.3 | 2 +- lib/libc/gen/uexterror.3 | 6 +++--- lib/libc/stdtime/ctime.3 | 2 +- share/man/man3/pthread_query_np.3 | 2 +- share/man/man9/exterror.9 | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/libc/gen/uexterr_gettext.3 b/lib/libc/gen/uexterr_gettext.3 index 991625f0602e..c4f479e00695 100644 --- a/lib/libc/gen/uexterr_gettext.3 +++ b/lib/libc/gen/uexterr_gettext.3 @@ -60,7 +60,7 @@ and setting to the corresponding value. .Sh SEE ALSO .Xr err 3 , -.Xr errno 3 , +.Xr errno 2 , .Xr exterror 9 .Sh STANDARDS The diff --git a/lib/libc/gen/uexterror.3 b/lib/libc/gen/uexterror.3 index b52a5e906507..74847fd97dfa 100644 --- a/lib/libc/gen/uexterror.3 +++ b/lib/libc/gen/uexterror.3 @@ -33,7 +33,7 @@ same .Xr exterror 9 infrastructure the kernel uses to return additional information about an error along with the standard -.Xr errno 3 +.Xr errno 2 error code, which is terse and often lacking context. .Pp The terseness is especially visible with commonly overloaded error codes like @@ -109,7 +109,7 @@ Note that unlike its kernel counterpart the .Nm macro does not return a value and sets -.Xr errno 3 +.Xr errno 2 directly. .Pp The name of the file and strings passed as the second argument are @@ -119,7 +119,7 @@ was not compiled with the macro defined. .Sh SEE ALSO .Xr err 3 , -.Xr errno 3 , +.Xr errno 2 , .Xr uexterr_gettext 3 , .Xr exterror 9 .Sh HISTORY diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3 index e51cb5d52f94..451ac5b15e10 100644 --- a/lib/libc/stdtime/ctime.3 +++ b/lib/libc/stdtime/ctime.3 @@ -263,7 +263,7 @@ The function returns the specified calendar time; if the calendar time cannot be represented, it returns \-1 and sets -.Xr errno 3 +.Xr errno 2 to an appropriate value. .Pp Note that \-1 is a valid result (representing one second before diff --git a/share/man/man3/pthread_query_np.3 b/share/man/man3/pthread_query_np.3 index 07f8adeb273c..2d41f16b5857 100644 --- a/share/man/man3/pthread_query_np.3 +++ b/share/man/man3/pthread_query_np.3 @@ -123,7 +123,7 @@ In particular, the stack unwinding might happen. .El .It Va errno_location The address of the thread-private instance of the -.Xr errno 3 +.Xr errno 2 variable. .It Va tcb The address of the architecture-specific thread control block. diff --git a/share/man/man9/exterror.9 b/share/man/man9/exterror.9 index 901ffa2fe9fb..e8932b33af2c 100644 --- a/share/man/man9/exterror.9 +++ b/share/man/man9/exterror.9 @@ -32,7 +32,7 @@ The .Nm framework allows the kernel to return additional information about an error along with the standard -.Xr errno 3 +.Xr errno 2 error code, which is terse and often lacking context. .Pp The terseness is especially visible with commonly overloaded error codes like @@ -242,7 +242,7 @@ They pass from the failed request back to the thread that create the request. .Sh SEE ALSO .Xr err 3 , -.Xr errno 3 , +.Xr errno 2 , .Xr uexterr 3 , .Xr uexterr_gettext 3 .Sh HISTORY