git: fa9f74220146 - main - getpeerid.3: Clarify the 's' argument

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 18 Nov 2023 09:02:42 UTC
The branch main has been updated by gbe:

URL: https://cgit.FreeBSD.org/src/commit/?id=fa9f74220146233b7224da7c94870540dc39ae68

commit fa9f74220146233b7224da7c94870540dc39ae68
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-11-18 09:02:12 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-11-18 09:02:12 +0000

    getpeerid.3: Clarify the 's' argument
    
    The argument 's' of getpeerid(3) must be a connected UNIX-domain socket,
    so document it.
    
    PR:     248614
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D42629
---
 lib/libc/gen/getpeereid.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libc/gen/getpeereid.3 b/lib/libc/gen/getpeereid.3
index 204dec041d8f..8e3b763f716a 100644
--- a/lib/libc/gen/getpeereid.3
+++ b/lib/libc/gen/getpeereid.3
@@ -23,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd November 28, 2022
+.Dd November 16, 2023
 .Dt GETPEEREID 3
 .Os
 .Sh NAME
@@ -44,7 +44,7 @@ peer connected to a
 socket.
 The argument
 .Fa s
-must be a
+must be a connected
 .Ux Ns -domain
 socket
 .Pq Xr unix 4