git: 66a50afd0491 - stable/14 - inotify: Fix comment typos

Mark Johnston <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a7353e7.45271.c20fb82__23418.7751704425$1785943335$gmane$org@gitrepo.freebsd.org>
The branch stable/14 has been updated by markj:

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

commit 66a50afd0491b1f618bd6d5817c6b658ca52f9da
Author:     Mark Johnston <[email protected]>
AuthorDate: 2026-07-08 18:06:00 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2026-08-05 15:15:16 +0000

    inotify: Fix comment typos
    
    MFC after:      1 week
    
    (cherry picked from commit 3e123be2305a30369f63bcee22ca5e0db527f320)
---
 sys/kern/vfs_inotify.c | 2 +-
 sys/sys/inotify.h      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/vfs_inotify.c b/sys/kern/vfs_inotify.c
index a9bb110b37dc..2360b59b57f0 100644
--- a/sys/kern/vfs_inotify.c
+++ b/sys/kern/vfs_inotify.c
@@ -559,7 +559,7 @@ inotify_overflow_event(struct inotify_event *evp)
 }
 
 /*
- * Put an event record on the queue for an inotify desscriptor.  Return false if
+ * Put an event record on the queue for an inotify descriptor.  Return false if
  * the record was not enqueued for some reason, true otherwise.
  */
 static bool
diff --git a/sys/sys/inotify.h b/sys/sys/inotify.h
index d1f23d5898bb..b8b4c67d9be2 100644
--- a/sys/sys/inotify.h
+++ b/sys/sys/inotify.h
@@ -38,7 +38,7 @@ struct inotify_event {
 #define	IN_MOVE_SELF		0x00000800
 #define	IN_ALL_EVENTS		0x00000fff
 
-/* Events report only for entries in a watched dir, not the dir itself. */
+/* Events reported only for entries in a watched dir, not the dir itself. */
 #define	_IN_DIR_EVENTS		(IN_CLOSE_WRITE | IN_DELETE | IN_MODIFY | \
 				 IN_MOVED_FROM | IN_MOVED_TO)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.