git: 8e9979050a8e - stable/12 - getdirentries.2: Reference dir(5)

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Tue, 12 Sep 2023 11:55:04 UTC
The branch stable/12 has been updated by 0mp:

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

commit 8e9979050a8e21b66c8c0748e8782651b66860fe
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2023-09-05 13:48:57 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-09-12 11:54:11 +0000

    getdirentries.2: Reference dir(5)
    
    As a note, parts of manual pages getdirentries(2) and dir(5) should
    probably be consolidated.
    
    MFC after:      3 days
    
    (cherry picked from commit 5b7a776f481891f10820a0b4838d0e0feb60b8ad)
---
 lib/libc/sys/getdirentries.2 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2
index 99ebd79784a1..9e09ff7f9f5a 100644
--- a/lib/libc/sys/getdirentries.2
+++ b/lib/libc/sys/getdirentries.2
@@ -197,7 +197,8 @@ Corrupted data was detected while reading from the file system.
 .Sh SEE ALSO
 .Xr lseek 2 ,
 .Xr open 2 ,
-.Xr directory 3
+.Xr directory 3 ,
+.Xr dir 5
 .Sh HISTORY
 The
 .Fn getdirentries