git: faec42a3ef60 - main - sys/dirent.h: comment update, 'd_off' is offset of next entry

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Mon, 24 Apr 2023 21:32:30 UTC
The branch main has been updated by kib:

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

commit faec42a3ef60d1c5e80da3e9aa3178ad1e0e7701
Author:     Olivier Certner <olce.freebsd@certner.fr>
AuthorDate: 2023-04-23 08:05:06 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-04-24 21:32:10 +0000

    sys/dirent.h: comment update, 'd_off' is offset of next entry
    
    This is the historical (and still current) behavior, as well as that of
    NetBSD, OpenBSD, illumos and Linux (getdents()/getdents64()).
    
    Reviewed by:    kib
    MFC after:      3 days
---
 sys/sys/dirent.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/dirent.h b/sys/sys/dirent.h
index 5bc6cf49afe7..b3c5e00cd9ad 100644
--- a/sys/sys/dirent.h
+++ b/sys/sys/dirent.h
@@ -65,7 +65,7 @@ typedef	__off_t		off_t;
 
 struct dirent {
 	ino_t      d_fileno;		/* file number of entry */
-	off_t      d_off;		/* directory offset of entry */
+	off_t      d_off;		/* directory offset of next entry */
 	__uint16_t d_reclen;		/* length of this record */
 	__uint8_t  d_type;		/* file type, see below */
 	__uint8_t  d_pad0;