git: 3e123be2305a - main - inotify: Fix comment typos

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Thu, 09 Jul 2026 13:41:48 UTC
The branch main has been updated by markj:

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

commit 3e123be2305a30369f63bcee22ca5e0db527f320
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-07-08 18:06:00 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-09 13:41:27 +0000

    inotify: Fix comment typos
    
    MFC after:      1 week
---
 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 9269dc0723af..473ce9358276 100644
--- a/sys/kern/vfs_inotify.c
+++ b/sys/kern/vfs_inotify.c
@@ -563,7 +563,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)